<?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: Documentation for &amp;amp;lt;script LANGUAGE=Windchill&amp;gt; in Windchill Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Documentation-for-amp-lt-script-LANGUAGE-Windchill-gt/m-p/1023831#M10173</link>
    <description>&lt;P&gt;From "&lt;STRONG&gt;Help Center&lt;/STRONG&gt;" - "&lt;STRONG&gt;Workflow Email Notifications&lt;/STRONG&gt;": &lt;A href="https://support.ptc.com/help/windchill/r12.1.2.0/en/index.html#page/Windchill_Help_Center/customization/WCCG_BusLogicCust_WorkflowAdmin_EmailNotif.html" target="_blank"&gt;https://support.ptc.com/help/windchill/r12.1.2.0/en/index.html#page/Windchill_Help_Center/customization/WCCG_BusLogicCust_WorkflowAdmin_EmailNotif.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Jul 2025 08:30:32 GMT</pubDate>
    <dc:creator>VladimirN</dc:creator>
    <dc:date>2025-07-08T08:30:32Z</dc:date>
    <item>
      <title>Documentation for &amp;lt;script LANGUAGE=Windchill&gt;</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Documentation-for-amp-lt-script-LANGUAGE-Windchill-gt/m-p/1023727#M10172</link>
      <description>&lt;P&gt;I am using Windchill PDMLink Release 13.0 and Datecode with CPS 13.0.2.0&lt;/P&gt;&lt;P&gt;We request to share documentation for &amp;lt;SCRIPT LANGUAGE="Windchill"&amp;gt;&lt;/P&gt;&lt;P&gt;Here are the errors that I faced&lt;BR /&gt;We have a requirement to add EC number, EC Name and Priority to any Email sent out based on EC in Email Subject Header.&lt;BR /&gt;We plan to modify below email templates to include the required details.&lt;BR /&gt;../Windchill/codebase/templates/workNotification&lt;BR /&gt;1.GeneralSubject.html&lt;BR /&gt;2.GeneralSubject_en_GB.html&lt;BR /&gt;3.GeneralSubject_en_US.html&lt;/P&gt;&lt;P&gt;We want to add a condition to include the workflow variables to add above mentioned details only when the workflow context object/primary business Object is of type WTChangeOrder2 . We added variable with below code , it works fine. The required details are added in the email Subject.&lt;/P&gt;&lt;P&gt;&amp;lt;SCRIPT LANGUAGE=Windchill&amp;gt; &amp;lt;!-- beginSubject --&amp;gt; &amp;lt;/SCRIPT&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;SCRIPT LANGUAGE=Windchill&amp;gt; &amp;lt;!-- addText text="EC " --&amp;gt; &amp;lt;/SCRIPT&amp;gt;&lt;BR /&gt;&amp;lt;SCRIPT LANGUAGE=Windchill&amp;gt; &amp;lt;!-- getProcessVariable varName="pboECNumber" --&amp;gt; &amp;lt;/SCRIPT&amp;gt;&lt;BR /&gt;&amp;lt;SCRIPT LANGUAGE=Windchill&amp;gt; &amp;lt;!-- addText text=" - " --&amp;gt; &amp;lt;/SCRIPT&amp;gt;&lt;BR /&gt;&amp;lt;SCRIPT LANGUAGE=Windchill&amp;gt; &amp;lt;!-- getProcessVariable varName="pboECName" --&amp;gt; &amp;lt;/SCRIPT&amp;gt;&lt;BR /&gt;&amp;lt;SCRIPT LANGUAGE=Windchill&amp;gt; &amp;lt;!-- addText text=" (" --&amp;gt; &amp;lt;/SCRIPT&amp;gt;&lt;BR /&gt;&amp;lt;SCRIPT LANGUAGE=Windchill&amp;gt; &amp;lt;!-- getProcessVariable varName="pboPriority" --&amp;gt; &amp;lt;/SCRIPT&amp;gt;&lt;BR /&gt;&amp;lt;SCRIPT LANGUAGE=Windchill&amp;gt; &amp;lt;!-- addText text="): " --&amp;gt; &amp;lt;/SCRIPT&amp;gt;&lt;BR /&gt;&amp;lt;SCRIPT LANGUAGE=Windchill&amp;gt; &amp;lt;!-- getActivityName --&amp;gt; &amp;lt;/SCRIPT&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;SCRIPT LANGUAGE=Windchill&amp;gt; &amp;lt;!-- endSubject --&amp;gt; &amp;lt;/SCRIPT&amp;gt;&lt;/P&gt;&lt;P&gt;We tried to add if condition with below check&lt;/P&gt;&lt;P&gt;&amp;lt;SCRIPT LANGUAGE="Windchill"&amp;gt; &amp;lt;!-- contains substring="WTChangeOrder2" --&amp;gt; &amp;lt;/SCRIPT&amp;gt;&lt;/P&gt;&lt;P&gt;Also tried below&lt;/P&gt;&lt;P&gt;&amp;lt;SCRIPT LANGUAGE="Windchill"&amp;gt; &amp;lt;!-- contains variable="pboType" substring="WTChangeOrder2" --&amp;gt; &amp;lt;/SCRIPT&amp;gt;&lt;/P&gt;&lt;P&gt;But this throws an exception.&lt;/P&gt;&lt;P&gt;Could you help us understand the &amp;lt;SCRIPT LANGUAGE="Windchill"&amp;gt; API/handle conditional check ? Is there any documentation for this ?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jul 2025 13:23:21 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Documentation-for-amp-lt-script-LANGUAGE-Windchill-gt/m-p/1023727#M10172</guid>
      <dc:creator>AK_10131364</dc:creator>
      <dc:date>2025-07-07T13:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: Documentation for &amp;lt;script LANGUAGE=Windchill&gt;</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Documentation-for-amp-lt-script-LANGUAGE-Windchill-gt/m-p/1023831#M10173</link>
      <description>&lt;P&gt;From "&lt;STRONG&gt;Help Center&lt;/STRONG&gt;" - "&lt;STRONG&gt;Workflow Email Notifications&lt;/STRONG&gt;": &lt;A href="https://support.ptc.com/help/windchill/r12.1.2.0/en/index.html#page/Windchill_Help_Center/customization/WCCG_BusLogicCust_WorkflowAdmin_EmailNotif.html" target="_blank"&gt;https://support.ptc.com/help/windchill/r12.1.2.0/en/index.html#page/Windchill_Help_Center/customization/WCCG_BusLogicCust_WorkflowAdmin_EmailNotif.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jul 2025 08:30:32 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Documentation-for-amp-lt-script-LANGUAGE-Windchill-gt/m-p/1023831#M10173</guid>
      <dc:creator>VladimirN</dc:creator>
      <dc:date>2025-07-08T08:30:32Z</dc:date>
    </item>
  </channel>
</rss>

