Skip to main content

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 NameDescription
1Step nameSpecify the name of the step as it appears in the workflow workspace. This name has to be unique in a single workflow.
2Apply formattingWhen this option is set, it formats the value (date, numbers etc.) according to the format options. Otherwise no formatting is done.
3Field NameSpecify the name of the field that is used to set a variable.
4Variable NameProvide the name of the variable to set (without ${...} or %%...%% sigils)
5Variable scope typeDefine 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.

6Default valueProvide a default value for the variable to set. This is used in case no fields value is received.