Table of Contents

Search

  1. Preface
  2. Workflows
  3. Workflow Variables
  4. Workflow Parameters
  5. Cluster Tasks
  6. Command Task
  7. Human Task
  8. Mapping Task
  9. Notification Task
  10. Gateways
  11. Workflow Recovery
  12. Workflow Administration

Developer Workflow Guide

Developer Workflow Guide

Skip Recovery Behavior

Skip Recovery Behavior

When a task with a skip recovery strategy is interrupted, the task state becomes Failed, Completed, Canceled or Aborted. When a workflow instance runs in recovery mode, the Data Integration Service skips failed and completed tasks.
The following table describes the task and workflow instance state when a task with a skip recovery strategy is interrupted:
Interruption
Task State
Workflow State
Description
Task encounters a recoverable or nonrecoverable error
Failed
Completed
The Data Integration Service fails the task. The Data Integration Service runs subsequent workflow objects if expressions in the conditional sequence flows evaluate to true or if the sequence flows do not include conditions. If the workflow instance finishes running without another interruption, the Data Integration Service updates the workflow state to Completed.
User aborts the workflow instance
Aborted
Aborted
The Data Integration Service fails the task and aborts the workflow instance. The workflow is not recoverable.
User cancels the workflow instance
Completed/Running
Canceled
The Data Integration Service cancels the workflow instance and finishes running the current task. The workflow is recoverable.
Because the current task runs to completion, the workflow status might change to Canceled while the task is still running.
When the task completes, the task enters a Completed state unless the task is a Human task. A Human task remains in a Running state until the workflow recovers. When the workflow recovers, the Human task state changes to Completed when the steps in the task are completed.
Service process shuts down unexpectedly
Canceled
Canceled
The workflow and the task are canceled. The workflow is recoverable.
If the workflow is not configured for automatic recovery, the service process changes the workflow instance state to Canceled when the service process restarts. When you recover the workflow, the service process reruns the interrupted task regardless of the skip recovery strategy.
If the workflow is configured for automatic recovery, the service process recovers the workflow instance and reruns the interrupted task when the service process restarts. The service process sets the workflow instance state to Running. The service process restarts the interrupted task regardless of the skip recovery strategy.
Before the Data Integration Service restarts, the workflow state and the task state appear as Running, although the workflow and the task are no longer running. The Data Integration Service updates the workflow and task states when it restarts.

0 COMMENTS

We’d like to hear from you!