Creating and Editing Variables

Defining, modifying, and managing global and local variables.

Creating a global variable

To add a new global variable, click the New Variable button on the page listing global variables.

Notion image

After clicking the add button, a window for creating a global variable opens on the same page.

Notion image

To create a variable, choose the variable type from the mandatory drop-down field Select the type of variable in the new variable window. The available values for selection are: string, number, JSON, and boolean.

Notion image

Variable Type - String, Number, JSON

If a variable of type string, number, or JSON is created, fill in the mandatory fields before clicking the Save (4) button:

  • Variable name in theย Name (1)ย field;
  • Variable value (up to 32Mb for strings and JSON) in theย Value (2)ย field;
  • Indication of whether the variable can be edited from the scenarioย (3)ย (default - yes).
Notion image

Variable Type - Boolean

If the created variable is of boolean type, fill in the mandatory fields before clicking the Save (4) button:

  • Variable name in theย Name (1)ย field;
  • One of the two possible values, true or false, for the variable in theย Value (2)ย field;
  • Indication of whether the variable can be edited from the scriptย (3) (default - yes).
Notion image

Editing a global variable

To modify a global variable, click the Edit (2) button in the menu of the variable's row (1) in the global variables table.

Notion image

After clicking the edit button, a window for changing the selected global variable opens on the same page. The variable parameters are filled in the corresponding fields and are available for modification.

Notion image

All Global Variables

Existing global variables are accessible for review on the Global Variables page in the corresponding table.

Notion image
  • (1) The name of the global variable is in the Name column;
  • (2) The value of the global variable is in the Value column. The maximum size of the variable's value (string or JSON) is 32MB;
  • (3) The variable type is in the Type of variable column. Variables can be a string, number, JSON, or a boolean value (true/false);
  • (4) The creation date of the global variable is in the Creation Date column. Using the gear icon, the column can be reconfigured to display the modification date instead of the creation date;
Notion image
  • Menu (5) available for each row allowing:
Notion image

Edit the global variable; Delete the global variable.

Notion image
โš ๏ธ
Upon clicking the Delete button and confirming the action in the modal window, the variable will be permanently deleted.

For ease of viewing and managing variables, a filter is available at the top of the global variables page. The test filter allows entering the desired variable name value.

Notion image
Did this answer your question?
๐Ÿ˜ž
๐Ÿ˜
๐Ÿคฉ