Quantcast
Channel: PTC Community: Message List - Windchill
Viewing all articles
Browse latest Browse all 8876

Re: Enable Publish Rule for CAD Drawings

$
0
0

The rules use fall through matching.  The first rule that matches is used.  If none of the rules match, then you still have to give it something at the end to do.

 

<condition name="CAD_Drawing">

    <attribute name="epmdoc_docType" value="Drawing"/>

</condition>

 

<authoring-application name="PROE">

    <if condition="CAD_Drawing">

        <!-- Drawing Only -->

        <publish on="create-representation" display-label="Manual Publish - Drawing" />

        <publish on="checkin" display-label="Check-in Publish - Drawing" />

        <publish on="schedule" display-label="Scheduled Publish - Drawing" />

        <!-- Publish when triggered by "Set State" or a Workflow Expression Robot.  See CS158347 -->

        <publish on="unknown-source" display-label="Workflow Publish - Drawing" />

    </if>

    <!-- All other CAD object types -->

    <publish on="create-representation" display-label="Manual Publish" />

    <publish on="checkin" display-label="Check-in Publish" />

    <publish on="schedule" display-label="Scheduled Publish" />

    <!-- Publish when triggered by "Set State" or a Workflow Expression Robot. See CS158347 -->

    <publish on="unknown-source" display-label="Workflow Publish" />

</authoring-application>


Viewing all articles
Browse latest Browse all 8876

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>