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

Restart Recovery Behavior

Restart Recovery Behavior

When a task with a restart recovery strategy is interrupted, the task state can become Canceled, Aborted or Completed. The Data Integration Service can restart canceled tasks.
The following table describes the task and workflow instance states when a task with a restart recovery strategy is interrupted:
Interruption
Task State
Workflow State
Description
Task encounters a nonrecoverable error
Aborted
Aborted
The task and the workflow are aborted. The workflow is not recoverable.
Task encounters a recoverable error
Canceled
Canceled
The task and the workflow are canceled. The workflow is recoverable.
User aborts the workflow instance
Aborted
Aborted
The Data Integration Service aborts the task and workflow instance. The workflow is not recoverable.
User cancels the workflow instance
Completed
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 task and the workflow are canceled. The workflow is recoverable.
The service process changes the task and workflow instance states to Aborted when the service process restarts.
If the workflow is not configured for automatic recovery, the service process changes the task and workflow instance states to Canceled when the service process restarts. The interrupted task restarts when you recover the workflow.
If the workflow is configured for automatic recovery, the service process recovers the workflow instance and restarts the interrupted task when the service process restarts. The service process changes the task and workflow instance states to Running.
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!