<?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: Make publish rules language independend in Windchill</title>
    <link>https://www.ptcusercommunity.com/t5/Windchill/Make-publish-rules-language-independend/m-p/703861#M63304</link>
    <description>&lt;P&gt;Hello Mike,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks for the link, don't know why i haven't found it. So this confirms that the rules are language depended.&lt;/P&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;In also found CS167584 now where a SPR 2218731 is mentioned. Can you see the status of this SPR? (Can i see it somewhere?)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.ptc.com/en/support/article/CS167584" target="_self"&gt;https://www.ptc.com/en/support/article/CS167584&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Using the regex to match to match multiple languages in one line is a usable workaround for me now.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Dec 2020 14:50:12 GMT</pubDate>
    <dc:creator>AnderasFromm</dc:creator>
    <dc:date>2020-12-18T14:50:12Z</dc:date>
    <item>
      <title>Make publish rules language independend</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/Make-publish-rules-language-independend/m-p/703689#M63292</link>
      <description>&lt;P&gt;Is there any config to make WVS publish rules language independed in Windchill 11.1?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wanted to make a simple condition for released drawings and i noticed, that the attribute doctype and the lifeCycleState are language dependend. When i publish a drawing out of an english Windchill web interface, the docType is &lt;EM&gt;Drawing&lt;/EM&gt;, when you do it from a german interface it is &lt;EM&gt;Zeichnung. &lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;The lifeCycleState is even more strange to me: The value is always in german (Freigegeben), independed from the Windchill user language and the Creo language settings. (I added the english one just to make sure it will work in other conditions i haven't tested..) I have also checked the resource bundles for errors in&amp;nbsp; translations, but it seems allright. In the Windchill interface the the translations are correct regarding to the chosen user language.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Workaround i found so far: Instead of checking the docType i can use the filename extension.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;condition name="drawing_released"&amp;gt;
  &amp;lt;and&amp;gt;
    &amp;lt;!--
    &amp;lt;or&amp;gt;
      &amp;lt;attribute name="epmdoc_docType" value="Zeichnung"/&amp;gt;
      &amp;lt;attribute name="epmdoc_docType" value="Drawing"/&amp;gt;
    &amp;lt;/or&amp;gt;
    --&amp;gt;
    &amp;lt;attribute name="epmdoc_CADName" regex=".*\.drw"/&amp;gt;
    &amp;lt;or&amp;gt;
      &amp;lt;attribute name="epmdoc_lifeCycleState" value="Freigegeben"/&amp;gt;
      &amp;lt;attribute name="epmdoc_lifeCycleState" value="Released"/&amp;gt;
    &amp;lt;/or&amp;gt;
  &amp;lt;/and&amp;gt;
&amp;lt;/condition&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For me it makes absolutely no sense that the publishing rules are language depended. Is there any config to turn this off? Or do i really have to add an &amp;lt;or&amp;gt; condition for every possible language?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 14:35:44 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/Make-publish-rules-language-independend/m-p/703689#M63292</guid>
      <dc:creator>AnderasFromm</dc:creator>
      <dc:date>2020-12-17T14:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: Make publish rules language independend</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/Make-publish-rules-language-independend/m-p/703701#M63294</link>
      <description>&lt;P&gt;I'm not sure, but isn't that the the internal name of the lc state? The publish rules are case insensitive so RELEASED is also Released and "In Work" is IN WORK, etc. So you won't find out.&lt;/P&gt;
&lt;P&gt;I would say you need to provide the internal names and it's not language specific.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 15:09:00 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/Make-publish-rules-language-independend/m-p/703701#M63294</guid>
      <dc:creator>BjoernRueegg</dc:creator>
      <dc:date>2020-12-17T15:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Make publish rules language independend</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/Make-publish-rules-language-independend/m-p/703813#M63299</link>
      <description>&lt;P&gt;I have just tried again with value = RELEASED and it does not work. It says "Publish rules have not found anything to publish".&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;and&amp;gt;
  &amp;lt;attribute name="epmdoc_CADName" regex=".*\.drw"/&amp;gt;
  &amp;lt;attribute name="epmdoc_lifeCycleState" value="RELEASED"/&amp;gt;
&amp;lt;/and&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;When i add the german condition back, it works again.&lt;/P&gt;
&lt;P&gt;It is also case sensitive: i tried value="FREIGEGEBEN" and it stopped working. It only works wih "Freigegeben", if the language of Windchill interface is in german.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 08:12:23 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/Make-publish-rules-language-independend/m-p/703813#M63299</guid>
      <dc:creator>AnderasFromm</dc:creator>
      <dc:date>2020-12-18T08:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Make publish rules language independend</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/Make-publish-rules-language-independend/m-p/703852#M63302</link>
      <description>&lt;P&gt;Hey Anderas,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This knowledge article,&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.ptc.com/en/support/article/CS295806" target="_blank"&gt;https://www.ptc.com/en/support/article/CS295806&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Seems to correspond with what you already found, in using the CADName and file extension.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I know we document in the Windchill help, that the publish rules are case-sensitive:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.ptc.com/help/windchill/wc111_hc/whc_en/index.html#page/Windchill_Help_Center%2FWVSPublishRulesEvaluate_EvaluatingPublishRulesLogic.html" target="_blank"&gt;http://support.ptc.com/help/windchill/wc111_hc/whc_en/index.html#page/Windchill_Help_Center%2FWVSPublishRulesEvaluate_EvaluatingPublishRulesLogic.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may want to open a Support case, to clarify this with one of our Publishing engineers, as they should be able to answer this for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mike&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 13:56:40 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/Make-publish-rules-language-independend/m-p/703852#M63302</guid>
      <dc:creator>MichaelChatel</dc:creator>
      <dc:date>2020-12-18T13:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Make publish rules language independend</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/Make-publish-rules-language-independend/m-p/703861#M63304</link>
      <description>&lt;P&gt;Hello Mike,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks for the link, don't know why i haven't found it. So this confirms that the rules are language depended.&lt;/P&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;In also found CS167584 now where a SPR 2218731 is mentioned. Can you see the status of this SPR? (Can i see it somewhere?)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.ptc.com/en/support/article/CS167584" target="_self"&gt;https://www.ptc.com/en/support/article/CS167584&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Using the regex to match to match multiple languages in one line is a usable workaround for me now.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 14:50:12 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/Make-publish-rules-language-independend/m-p/703861#M63304</guid>
      <dc:creator>AnderasFromm</dc:creator>
      <dc:date>2020-12-18T14:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Make publish rules language independend</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/Make-publish-rules-language-independend/m-p/703862#M63305</link>
      <description>&lt;P&gt;Hi Anderas,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I actually can't see the status of that particular SPR.&amp;nbsp; Given when it was first logged, I suspect it was on an older internal system, that I don't have access to.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Glad you have a work-around, but feel free to open a Support case still, if you want to confirm/double-check this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mike&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 14:57:18 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/Make-publish-rules-language-independend/m-p/703862#M63305</guid>
      <dc:creator>MichaelChatel</dc:creator>
      <dc:date>2020-12-18T14:57:18Z</dc:date>
    </item>
  </channel>
</rss>

