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

Rules and Guidelines for Workflow and Task Recovery

Rules and Guidelines for Workflow and Task Recovery

The workflow states and the task strategies that you define can influence the recovery behavior for a workflow instance.
Consider the following rules and guidelines for workflow and task recovery:
  • If a task with a skip recovery strategy encounters an error, the Data Integration Service fails the task and moves to the next object in the workflow. The workflow is not interrupted.
    If the Data Integration Service is interrupted while a task with a skip recovery strategy is running, the workflow and the task enter a canceled state. When the workflow recovers, the Data Integration Service reruns the canceled task.
  • If a task with a restart recovery strategy encounters a recoverable error, the Data Integration Service cancels the workflow. When the workflow recovers, the Data Integration Service restarts the task that was running when the error occurred.
  • If you cancel a workflow while a task with a skip recovery strategy is running, the Data Integration Service cancels the workflow and waits for the task to finish. Upon recovery, the Data Integration Service runs the next object in the workflow.
  • If a workflow enters an aborted state while a task with a skip recovery strategy is running, the Data Integration Service terminates the task and the workflow. The workflow is not recoverable.
  • If the Data Integration Service that runs a task fails on a grid or in a high-availability environment, another Data Integration Service can recover the workflow. The service failover might occur before the workflow engine can register the final state of the tasks from the earlier workflow run. When the workflow recovers, the Data Integration Service might rerun one or more tasks that completed in the earlier run.

0 COMMENTS

We’d like to hear from you!