Before you can use an Assignment task to assign a value to a user-defined workflow variable, you must create the workflow variable with an initial value.
Add an Assignment task to the workflow.
Select the Assignment task in the editor.
In the
Properties
view, click the
Assignment
tab.
In the
User-defined Variable
column, select a user-defined workflow variable.
Click the arrow in the Expression column.
The
Assignment Expression Editor
appears.
Enter the value or expression to assign to the variable.
The
Functions
tab lists transformation language functions. The
Inputs
tab lists workflow parameters and variables. Double-click a function, parameter, or variable name to include it in the expression.
Type operators and literal values into the expression as needed.