Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
The PrimaryBusinessObject for this workflow is likely a Change Request, not a WTDocument, so the code does not act on the document.
Need the code to "navigate" from the change object to the resulting data to the resulting data's predecessor (previous Revision's last Iteration), and then set the state of it. Or, from change object to Affected data.
For understanding, might want to:
- create a workflow template with just this
- initiate the workflow via admin UI and tie to a WTDocument directly (one with a previous Rev)
Hi
Did you get this to work? I'm after the exact same function.
Thanks
Pär