Monitor Workflows
Effective in version 9.5.1 HotFix 1, the recovery settings for a workflow determine the workflow and task states when the workflow instance is interrupted. Previously, only the type of interruption determined the workflow and task states.
The recovery settings for a workflow determine the workflow and task states when the workflow instance encounters the following interruptions:
- Task encounters an error.
When the workflow is enabled for recovery and a task with a restart recovery strategy encounters a recoverable error, the Data Integration Service aborts the task and workflow instance. When a task with a restart strategy encounters a non recoverable error or when a task with a skip strategy encounters any error, the Data Integration Service fails the task and workflow instance.
When the workflow is not enabled for recovery and a task encounters any error, the Data Integration Service fails the task and workflow instance.
Previously, when a task encountered any error, the Data Integration Service failed the task and workflow instance.
- You abort the workflow instance.
When the workflow is enabled for recovery and the interrupted task has a restart recovery strategy, the Data Integration Service aborts the task and workflow instance. When the interrupted task has a skip recovery strategy, the Data Integration Service fails the task and aborts the workflow instance.
When the workflow is not enabled for recovery, the Data Integration Service aborts the interrupted task and workflow instance.
Previously, when you aborted a workflow instance, the Data Integration Service aborted the interrupted task and workflow instance.
- Service process shuts down unexpectedly.
When the workflow is enabled for recovery and the interrupted task has a restart recovery strategy, the Data Integration Service aborts the task and workflow instance. When the interrupted task has a skip recovery strategy, the Data Integration Service fails the task and aborts the workflow instance.
When the workflow is not enabled for recovery, the Data Integration Service displays an Unknown state for the interrupted task and workflow instance.
Previously, when a Data Integration Service process shut down unexpectedly, the service displayed an Unknown state for the interrupted task and workflow instance.
- You redeploy the application while the workflow instance has an aborted or canceled state.
The workflow is enabled for recovery and the workflow instance has an aborted or canceled state. You change the workflow definition in the Developer tool and redeploy the application that contains the workflow. Because the workflow metadata has changed, the workflow instance is no longer recoverable. As a result, the Data Integration Service updates the state of the workflow instance to Unknown.
The workflow is not enabled for recovery and the workflow instance has an aborted or canceled state. You change the workflow definition in the Developer tool and redeploy the application that contains the workflow. The workflow instance state remains aborted or canceled.
Previously, if a workflow instance had an aborted or canceled state and you changed the workflow definition and redeployed the application, the workflow instance state remained aborted or canceled.
Recovery settings do not determine the workflow and task states if you cancel the workflow instance or if the workflow encounters an error. If you cancel a workflow instance, the Data Integration Service completes the task and cancels the workflow instance regardless of recovery settings. If the workflow encounters an error, the Data Integration Service immediately fails the workflow instance regardless of recovery settings.