Set Variables
Description
Set Variables is a step in the Process Plugin for Process Studio Workflows. Set Variables step can set field values to variables in a process or in the virtual machine. It accepts one (and only one) row of data to set the value of a variable.
Configurations
No. | Field Name | Description |
---|---|---|
1 | Step name | Specify the name of the step as it appears in the workflow workspace. This name has to be unique in a single workflow. |
2 | Apply formatting | When this option is set, it formats the value (date, numbers etc.) according to the format options. Otherwise no formatting is done. |
3 | Field Name | Specify the name of the field that is used to set a variable. |
4 | Variable Name | Provide the name of the variable to set (without ${...} or %%...%% sigils) |
5 | Variable scope type | Define the scope of the variable, possible options are: • Valid in the virtual machine: the complete virtual machine will know about this variable. • Valid in the parent process: the variable is only valid in the parent process. • Valid in the grand-parent process: the variable is valid in the grand-parent process and all the child processes and workflows. • Valid in the root process: the variable is valid in the root process and all the child processes and workflows. |
6 | Default value | Provide a default value for the variable to set. This is used in case no fields value is received. |