Use the Update a Variable or Stored Value Action to update a variable or Stored Value using a predefined value, or the value of a User-specific variable that you create. When you create User-specific variables, they are available in other Actions within the One-Step, including pre/post-steps and Expressions. For example, use a One-Step to prompt a User for a value (ex: Name of a Customer), and then store the selected value as a User-specific variable (rather than in a temporary Field). The variable can be used throughout the One-Step to take different Actions depending on which value was selected.
Good to know:
To define an Update a Variable or Stored Value Action:
The Update a Variable or Stored Value window opens.
Note: If you select a Stored Value that contains User-specific values (or if you use this Action to update a Stored Value with a User-specific value), you will receive the following warning: "This Stored Value has a different value for each User. The value set here will only apply to the current User." If the User-specific value is not remembered between sessions, you will see the following additional warning: "Also, this value will be reset to the default value when the application is restarted."
Note: This option is only available if you selected a Stored Value that contains User-specific values.
Tip: When you provide a variable name, the Variable radio button is automatically selected.
Note: You cannot define a value if you use this Action to clear User-specific values and return Stored Values to their default values.
Note: This is a powerful feature with almost endless possibilities. For best results, follow these.
Note: When executing a One-Step containing variables, those variables only retain their values while the One-Step executes. If the One-Step is executed again, the variables have no values until set by this Action. If you cancel out of this window, all User-defined variables are removed and no longer available for use.