Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
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
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