Create user-defined workflow variables to capture task output or to make a workflow decision based on criteria that you specify. You can create a user-defined workflow variable of datatype boolean, date, integer, or string.
To use user-defined workflow variables, complete the following steps:
Create a workflow variable with an initial value.
The Data Integration Service uses the initial value of the variable when the workflow starts.
Configure the workflow to assign a run-time value to the variable.
As a workflow progresses, the Data Integration Service can calculate and change the initial variable value according to how you configure the workflow. You can assign a value to a user-defined variable using an Assignment task. Or, you can assign a value to a user-defined variable using task output.
Use the variable in a conditional sequence flow or in a task field so that the Data Integration Service uses the variable value at run time.