Exits a workflow step. This function moves the revision to a particular step in a workflow according to the function parameters and resets the parent list information. To completely exit a workflow, use wfExit(100,100) or any parameters that ensure that the revision returns to the parent workflow and then gets moved past the last step in that workflow.

Type and Usage


Takes two parameters:

  • The first parameter indicates the number of jumps to rewind.

  • The second parameter indicates the target step relative to the step determined by the first parameter.


Exits to the parent step in the workflow:


Returns to the previous jump step:


Returns to the previous jump step and moves to the next step in that workflow: