cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Worker Agent Configuration

mszwabowski
13-Aquamarine

Worker Agent Configuration

We have family tables stored in a read-only product.  When the family tables are updated, they're moved from the read-only product to one with write access.  The family tables can then be checked out, updated, checked back in, and moved back to the read-only product.

 

Moving the family table along with its instances facilitates the publishing of every version of every instance.  This creates thousands of unnecessary items being sent to the publisher.

 

How do I configure the publishing rules in the Worker Agent to prohibit this behavior?

 

 

2 REPLIES 2

 

There are several ways to go about this requirement: 

  1. Disable publish/republish on EPMdocument change
    • This will disable publishing/republishing on any metadata change (Any changes without iterating the object, e.g. state,move,rename)
    • Can be disabled using following properties in wvs.properties

      publish.republishonepmdocumentchange=true

      publish.publishonepmdocumentchange=true

  2. Customize the listener for the required events, refer https://www.ptc.com/en/support/article/CS238377 
  3. PublishRules 
    • Move action is consider as unknown job source for publishing 
       

      jobsource.png

    • to filter these objects we need to identify specific EPMDoc attribute which identifies these objects uniquely (e.g.  name, number, any user created attribute)
    • Find the sample attached example xml 
    • You can also find out epm* attributes which can be used by launching representation in Creo View 
      IBAs.png
       

       

    • Caveats : 
    • With the provided xml it will only disable the publishing for container equals to target folder in move operation.  Along with it this will also disable the publishing for any other metadata change (state change or rename when in that context)
    • For republish to take effect with the new rule it is mandatory to have existing rep to be generated with any other rule , refer https://www.ptc.com/en/support/article/CS142964

Thanks,
Vishwas  

 

 

Thank you Vishwas.

we are so numerous needing to prevent the worker from republishing objects that are simply moved from products or libraries to others that i am wondering why there is no easier way to activate this.

 

But on your post, you wrote : 1-Disable publish/republish on EPMdocument change :

Can be disabled using following properties in wvs.properties publish.republishonepmdocumentchange=true

which sounds a bit contradictory when reading (republish=true whereas it should disable republish...)

 

Then you route to https://www.ptc.com/en/support/article/CS238377  where the first lines say to set properties as publish.republishonepmdocumentchange to false. So it's confusing me a little. 

I am really looking for something easier to set in place from PTC as it is a common will for Windchill admins to skip those users request asking for purging unwanted publish jobs that prevent their own promotions and publications to be printed out quickly.

 

Regards

 

 

Announcements

Top Tags