We are troubleshooting an issue impacting community login, and it may be intermittently unavailable. Sorry for any inconvenience.
Hi,
Our requirement is to generate the EPMdocuments once the drawing is published through post-publication using publish rule.
Particularly, it should post-publish only the drawings which are having PTC_WM_LIFECYCLE_STATE=Released.
However, when created a PublishRule.xml with below lines it does not work. Drawing withPTC_WM_LIFECYCLE_STATE=Released are not getting post-published.
It does not consider value for parameter:PTC_WM_LIFECYCLE_STATE and post-publication does not happen.
<rules xmlns="</span">http://www.ptc.com"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.ptc.com
PublishRulesSchema.xsd">
<authoring-application name="PROE">
<epm-iba iba="PTC_WM_LIFECYCLE_STATE" value="Released">
<publish on="checkin" param-set="Post" publish"="/>
<publish on="create-representation" param-set="Post" publish"="/>
<publish on="schedule" param-set="Post" publish"="/>
</epm-iba>
<param-set name="Post" publish"=">
<post-publish name="delegate">com.ptc.wvs.server.publish.EPMPostPublishDelegate&l
t;/post-publish>
<post-publish name="type">wt.doc.Document</post-publish>
<post-publish name="name">{EPM_NAME}_temp</post-publish>
<post-publish name="number">{EPM_NUMBER}_temp</post-publish>
<post-publish name="published-content-link">create</post-publish>
<post-publish name="container-oid">wt.pdmlink.PDMLinkProduct:79086986</post/> -publish>
</param-set>
</authoring-application>
</rules>