AnsweredAssumed Answered

Review Approve Custom Workflow

Question asked by tomoconnell on Jan 6, 2014
Latest reply on Jan 7, 2014 by tomoconnell
I have been struggling to find a work around for a problem for awhile and have been trying different solutions with no luck. I thought I might as well write up

I have a custom workflow that on approval will make a copy of the reviewed document as a .pdf in a separate directory. No problems here.

On rejection however it gets the version history of the document and rolls it back to the previous version. This works also.

The problem however is when the document is rolled back, the script that starts the workflow will retrigger, creating a new workflow.

I've dealt with this in other workflows but in this situation I can't think of a aspect or anything to check for in the starter script.
I'm currently messing around with workflow variables to try set a var if the workflow is rejected and then test for this in the starter script.

Any help would be greatly appreciated.