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

Task Output

Task Output

When you configure a Mapping, Command, Notification, or Human task, you can define the task output. Task output is the data that passes from a task into workflow variables.
When you configure a Mapping, Command, or Notification task, you can define the task output. Task output is the data that passes from a task into workflow variables.
When you configure a task, you specify the task output values that you want to assign to workflow variables. The Data Integration Service copies the task output values to workflow variables when the task completes. The Data Integration Service can access these values from the workflow variables when it evaluates expressions in conditional sequence flows and when it runs additional objects in the workflow.
For example, each task includes an Is Successful output value that indicates whether the task ran successfully. The workflow cannot directly access this task output data. To use the data in the remainder of the workflow, you create a boolean workflow variable named TaskSuccessful and assign the Is Successful output to the variable. Then use the TaskSuccessful workflow variable in an expression for a conditional sequence flow. The Data Integration Service runs the next object in the workflow if the previous task ran successfully.
Tasks produce general outputs and task specific outputs. If a task fails, the Data Integration Service copies the general task output values to workflow variables. The service does not copy the task specific output values to workflow variables. If a task aborts, the Data Integration Service does not copy any task output values to workflow variables.
The following table describes the general outputs produced by each task:
Output Data
Datatype
Description
Start Time
Date
Date and time that the task started running.
End Time
Date
Date and time that the task finished running.
Is Successful
Boolean
Indicates whether the task ran successfully.
The Assignment task does not produce general or task specific outputs.

0 COMMENTS

We’d like to hear from you!