Set Variable to Constant or Expression Result
The Set Variable to Constant or Expression Result action stores a constant or expression result in a variable.
Choose whether the variable is a New variable or an Existing variable.
If you selected "New Variable", enter the Variable Name.
Select the Scope of the variable. The options are:
"Shared" - the variable is available to scripts based on the underlying form or browse
"Global" - the variable is available to other scripts
Select the Type of the variable. The options are:
In the Set Value To field enter the data or expression that defines the variable's value. Optionally, click the 'xy' button to open the Expression Builder.
Click Next >.
Optionally modify the comment that describes the action.