Workflows include tasks and gateways. When you monitor a workflow instance, you can view the state of the tasks that run in the workflow instance.
Tasks can have one of the following states:
Aborted
A task aborts in the following situations:
The task encounters an nonrecoverable error.
You abort the workflow instance.
When you abort the workflow instance, the Data Integration Service first aborts the task and then aborts the workflow instance.
If you choose to abort the workflow instance while an Assignment task is running, the Data Integration Service completes running the task. The Data Integration Service then aborts the workflow instance and does not start running other objects.
Completed
The Data Integration Service successfully completes the task.
Failed
A task fails in the following situations:
Any task in a workflow not enabled for recovery encounters any type of error.
An Assignment task in a workflow enabled for recovery encounters any type of error.
A Command, Mapping, Notification, or Human task with a restart recovery strategy in a workflow enabled for recovery encounters a non recoverable error.
A Mapping task with a skip recovery strategy in a workflow enabled for recovery encounters any type of error.
A workflow can complete if a task fails. 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.