Set Variables
Set Variables
The Set Variable activity allows you to modify the value of a workflow variable. You can use this activity with global, input, output, and local variables. If you select "static" as the variable type, the value you assign persists across workflow runs, i.e., the value can be updated in one run, and the next time that workflow runs, that Static variable will use the value from the last workflow run.
You can set one variable at a time, or you can update multiple variables, as shown in this example:

Note: A single Set Variables activity can update more than one variable, even if they are different types.
Complete the following properties to use this activity:
-
Variables
-
Variables to update - Click add and enter the following information for one or more variables:
-
Variable to update - Enter the variable name or click the ( x) (Variable Reference) icon to choose a variable.
-
New value - Enter the new value or click the ( x) (Variable Reference) icon to choose a variable.
-
-

