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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Terminating running WF on older revisions

giridhar82
1-Newbie

Terminating running WF on older revisions

I have a requiremetn where i need to terminate a running WF, if a user does revise and creates new Version of document.


How can i achive this in WF? or is there any other way of doing this.



Regards


Giridhar

3 REPLIES 3

Giridhar,


That's a good one and I think doable.


I'd try to do this with a sync robot and an end robot right after it.


windchill class wt.doc.WTDocument


event CREATE


In the expression put in code to see if the your Doc is still the latest version. If it is do nothing. If it is not route to end workflow. I'm pretty sure that would work.


The workflow would need to split right of the bat so that the synch robot was running from day one.


Hope this helps


David Graham


Windchill Administrator Pro|ENGINEER Administrator CAx Administrator
Emhart Glass Manufacturing Inc.Emhart Glass Research Center123 Great Pond Drive | Windsor, CT 06095 | USATelephone +1 (203) 376-3144 | Telefax +1 (860) 298 7397Mobile +1 (203) 376-3144 | http://www.emhartglass.com






In Reply to Giri G:



I have a requiremetn where i need to terminate a running WF, if a user does revise and creates new Version of document.


How can i achive this in WF? or is there any other way of doing this.



Regards


Giridhar


HI Graham



Thank you for the reply.





Let me try to implement as you suggested.



Regards

Giridhar






Graham,

Finally I got some time to implement this.
Thanks for the solution, It worked for me.

I did put expression to check if there is a latest version of doc created. If yes , then ending the WF.

Regards
Giridhar


Top Tags