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

Workflow Recovery Overview

Workflow Recovery Overview

Workflow recovery is the completion of a workflow instance from the point of interruption. A running workflow instance can be interrupted when an error occurs, when you cancel or abort the workflow instance, or when a Data Integration Service process shuts down unexpectedly.
The Data Integration Service tries to recover the previous workflow state if the service restarts after an unexpected shutdown. By default, the Data Integration Service does not recover a workflow instance that stopped during a Command task, Mapping task, or Notification task. In addition, the Data Integration Service cannot recover a workflow instance by default if you cancel the workflow instance or cancel a running task in the workflow instance. You can configure the recovery options on the workflow to enable the Data Integration Service to recover a workflow instance in such cases.
When you configure the workflow options, you can configure the workflow for manual recovery or automatic recovery. If you configure automatic recovery, the Data Integration Service restarts the workflow from the point of interruption without any human interaction. If you configure manual recovery, you can restart the workflow.
The Data Integration Service also considers the task recovery strategy that the workflow specifies for the task that was running when the workflow stopped. A task recovery strategy determines whether the Data Integration Service completes an interrupted task during a workflow run.
Some errors are not recoverable. You cannot recover a workflow instance from a workflow error. You cannot recover a workflow that is in an aborted state. If a workflow instance is recoverable and you change the workflow metadata and redeploy the workflow application, the workflow instance is no longer recoverable.

0 COMMENTS

We’d like to hear from you!