How to Check Workflow Step Execution Status

If you want to find out about the execution status of a workflow step, you can use the following methods:

  • isInitialized()
  • isPreExecuted()
  • isDenied()
  • isApproved()
  • isWithdrawn()


Example
for (step in workflowInfo.steps) {
	if (step.isPreExecuted()) {
	 stageOwner = step.uniqueName
   }
}

Found an issue in documentation? Write to us.

Â