<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Retrieve the API of all objects affected by change notifications in WTpart through programming in Windchill Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Retrieve-the-API-of-all-objects-affected-by-change-notifications/m-p/971460#M8694</link>
    <description>&lt;P&gt;Thank you very much for your reply. My issue has been resolved. thank you&lt;/P&gt;</description>
    <pubDate>Sat, 14 Sep 2024 09:10:28 GMT</pubDate>
    <dc:creator>ZK_11667139</dc:creator>
    <dc:date>2024-09-14T09:10:28Z</dc:date>
    <item>
      <title>Retrieve the API of all objects affected by change notifications in WTpart through programming</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Retrieve-the-API-of-all-objects-affected-by-change-notifications/m-p/971458#M8692</link>
      <description>&lt;P&gt;&lt;STRONG&gt;I need to retrieve the API of all objects affected by change notifications in WTpart through programming, because I need to control whether the WTPart objects of the affected objects already have other changes when creating a new ECN. If so, the current change will be canceled and the customer will be prompted that there are already other changes in the objects. Please complete them first before initiating the change&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Sep 2024 07:27:18 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Retrieve-the-API-of-all-objects-affected-by-change-notifications/m-p/971458#M8692</guid>
      <dc:creator>ZK_11667139</dc:creator>
      <dc:date>2024-09-14T07:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve the API of all objects affected by change notifications in WTpart through programming</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Retrieve-the-API-of-all-objects-affected-by-change-notifications/m-p/971459#M8693</link>
      <description>&lt;DIV&gt;QueryResult activities = ChangeHelper2.service.getAffectingChangeActivities(part);&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;while (activities.hasMoreElements()) {&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;WTChangeActivity2 activity = (WTChangeActivity2) activities.nextElement();&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;QueryResult orders = ChangeHelper2.service.getChangeOrder(activity);&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;while (orders.hasMoreElements()) {&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;WTChangeOrder2 order = (WTChangeOrder2) orders.nextElement();&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;QueryResult qrProcs = WfEngineHelper.service.getAssociatedProcesses(order,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;WfState.OPEN_RUNNING, null);&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;if (qrProcs.size() &amp;gt; 0) {&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;showFlag = false;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;message = "Part：" + part.getNumber() + "-" + part.getName() + "has a running change process and is not allowed to initiate it again";&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;}&lt;/DIV&gt;&lt;DIV&gt;}&lt;/DIV&gt;&lt;DIV&gt;}&lt;/DIV&gt;</description>
      <pubDate>Sat, 14 Sep 2024 08:57:53 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Retrieve-the-API-of-all-objects-affected-by-change-notifications/m-p/971459#M8693</guid>
      <dc:creator>Daniel_Ada</dc:creator>
      <dc:date>2024-09-14T08:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve the API of all objects affected by change notifications in WTpart through programming</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Retrieve-the-API-of-all-objects-affected-by-change-notifications/m-p/971460#M8694</link>
      <description>&lt;P&gt;Thank you very much for your reply. My issue has been resolved. thank you&lt;/P&gt;</description>
      <pubDate>Sat, 14 Sep 2024 09:10:28 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Retrieve-the-API-of-all-objects-affected-by-change-notifications/m-p/971460#M8694</guid>
      <dc:creator>ZK_11667139</dc:creator>
      <dc:date>2024-09-14T09:10:28Z</dc:date>
    </item>
  </channel>
</rss>

