Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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()


Code Block
languagegroovy
titleExample
for (step in workflowInfo.steps) {
	if (step.isPreExecuted()) {
	 stageOwner = step.uniqueName
   }
}

...