Use taskflow steps to add and orchestrate data integration tasks. You can add different types of steps to a taskflow. To add a step to a taskflow, drag a step from the palette on the left.
You can add the following steps to a taskflow:
Assignment
Use an Assignment step to set a value for a field. A field is a data holder that carries data around a taskflow. You can use input fields and temporary fields to set a value for a field.
Input fields provide input when you run the taskflow. The taskflow uses temporary fields internally to handle data.
Data Task
Use a Data Task step to add a
data transfer
task or
mapping
task
to a taskflow. You can configure how the taskflow handles errors and warnings, perform actions based on a schedule, and override runtime parameters.
Notification Task
Use a Notification Task step to send a notification to specified recipients.
You can configure the Notification Task step to send an email notification. For example, you can send an email notification to inform recipients about the number of success rows and error rows that were encountered in a Data Task step of a taskflow.
Command Task
Use a Command Task step to run shell scripts or batch commands from multiple script files on the Secure Agent machine. For example, you can use a command task to move a file, copy a file, zip or unzip a file, or run clean scripts or SQL scripts as part of a taskflow.
You can use the Command Task outputs to orchestrate subsequent tasks in the taskflow.
Subtaskflow
Use a Subtaskflow step to embed and reuse an existing taskflow. You can configure input fields to provide input when you run the taskflow. You can also enable fault handling to determine the reason for a taskflow failure.
Decision
Use a Decision step when you want a taskflow to take different paths based on the value of a specific field or formula.
Parallel Paths
Use a Parallel Paths step when you want a taskflow to run multiple items at the same time. For example, you can run three
mapping
tasks simultaneously. The taskflow runs all items in the Parallel Paths step and then moves to the next step.
Jump
Use a Jump step when you want to jump from one part of the taskflow to another.
Throw
Use a Throw step to catch a fault, return the fault details, and prevent the execution of the subsequent steps in a taskflow. The Throw step is an interrupting step, which means that if a fault occurs, the Throw step stops the execution of the taskflow and sets the taskflow status to failed.
Wait
Use a Wait step when you want to pause taskflow execution for a specific duration.
End
Use an End step to define the HTTP status code that must be used when a taskflow completes.