You can resume a workflow run from the last failed activity if resuming a failed run is enabled for the workflow.

When the resume failed workflow feature is enabled, you can change the parameters of the workflow and try to resume it. You can also retain the parameters and change external components that affect the workflow run. If you do not select an option, the workflow run times out and cannot be resumed. For modifying the timeout period, see Set custom properties for resuming failed workflow runs.

In this use case, you create a simple workflow designed specifically to fail during its run. This workflow demonstrates the basic functionality of the resume failed workflow feature.


  1. Log in to the Automation Orchestrator Client.
  2. Navigate to Library > Workflows, and click New Workflow.
  3. Enter the name resume workflow test and click Create.
  4. On the Summary tab, click the Resume workflow from failed behavior drop-down menu.
  5. Select Enabled.
  6. On the Inputs/Outputs tab, click New.
  7. Create an input parameter with the following properties.
    Option Description
    Name fail
    Type boolean
  8. On the Schema tab, drag three Scriptable task elements into the schema diagram.
  9. Name the schema elements before failure, failure, and after failure.
  10. On the Scripting tab of the before failure element, enter System.log("Before failure");.
  11. Add the fail input parameter to the failure element.
  12. On the Scripting tab of the after failure element, enter System.log("After failure");.
  13. Save the workflow, and click Run.
  14. Toggle on the fail check-box, and click Run.
    The workflow run reaches the Waiting state.
  15. On the top-right, select Answer.
  16. To cancel the workflow run, select Cancel and click Answer.
  17. To resume the workflow run, select Resume, and navigate to the Parameters tab.
  18. Toggle off the fail check-box, and click Answer.
    The workflow run reaches the Completed state.


You now know how to manage failed workflow runs.