Set global variable action
- Overwrite the existing value with this new value
- Overwrite the existing value with this new value, starting at the specified index
- Append this new value after the last index of the existing value
- Insert this new value into the existing value, at the specified index
For the two options that use a specified index, you must enter the number of the index in the Index field.
For an example of how a variable value is set based on the option you select, see Extract global variable action.
If you are setting the global variable to a fixed value, type the value in the entry field.
If you are setting the global variable to a calculated value, you specify the operands to be used and the operation of the calculation. The operands can be either fixed values that you enter into the field, or you can use the values of existing global variables for the calculation. If you use an existing indexed global value, and you want to specify an index of the variable to use as the operand, click Advanced. Enter the number of the index in the Index field.
Selecting the Shared check box will allow the global variable to be shared.
For more information about global variables, see Interacting with global variables.