Summary of Workflow States After an Interruption
The workflow state and task state when a workflow instance is interrupted depend on the reason for the interruption and the recovery options that you select.
Recovery is not enabled.
The following table summarizes the workflow and task states when the workflow is not enabled for recovery:
Interruption | Task State | Workflow State |
---|
Workflow or task encounters any error | Failed | Completed |
User aborts the workflow instance | Aborted | Aborted |
User cancels the workflow instance | Completed | Canceled |
Recovery is enabled. Interrupted task has a restart recovery strategy.
The following table summarizes the workflow and task states when the workflow is enabled for recovery and the interrupted task has a restart recovery strategy:
Interruption | Task State | Workflow State |
---|
Workflow encounters any error | Aborted | Aborted |
Task encounters a nonrecoverable error | Aborted | Aborted |
Task encounters a recoverable error | Canceled | Canceled |
User aborts the workflow instance | Aborted | Aborted |
User cancels the workflow instance | Completed | Canceled |
Recovery is enabled. Interrupted task has a skip recovery strategy.
The following table summarizes the workflow and task states when the workflow is enabled for recovery and the interrupted task has a skip recovery strategy:
Interruption | Task State | Workflow State |
---|
Workflow encounters any error | Aborted | Aborted |
Task encounters any error | Failed | Completed |
User aborts the workflow instance | Aborted | Aborted |
User cancels the workflow instance | Completed | Canceled |