Add a script variable

You can add a variable from any script page. When you add a new variable, you select its type and optionally assign a default value.

  1. To open the list of variables known to the script, click the Variables tab. 
  2. Click Add Variable .
  3. Choose a Variable type (Basic, Dynamic, or List).
  4. Enter the Name, Description, and a Default value for the variable.
  5. The Basic and List variables (String, Number, and True/False) have optional Output and Input properties that you can use to determine how data is shared outside of the script.
    • Enable the Output property to indicate that its value should be saved for use outside of the script. The variable is an output variable because its value is output to external storage when the script executes.
    • Enable the Input property to indicate that its value can be assigned from an external source, such as an Architect call flow. The variable is an input variable because its value is input from an external source.
    • For more information, see Input and output variables

  1. Click Apply.