Resouce for workflow code writing
I am in need of a resource for workflow code writing?
We are on Windchill PDMLink 11, M020
Nothing very complicated.
On a CR, I need a bit of code that would:
If primaryBusinessObject = INWORK then set sate UNDERREVIEW, else do nothing.
Any item on a CR that is submitted that is in a In Work state should be set to Under Review. If it's not in a state of In Work then do nothing to that item.
I would then also need to back that out again on a rework loop. If its Under Review then set to In Work, if its anything else then do nothing to that item.

