Set variable
The Set variable action creates an app-level variable and assigns a value to it.
Configuration
| Parameter | Description | Default |
|---|---|---|
| Key | Name (string) of the variable | — |
| Value | A string, number, boolean, expression, array, or object | — |
| Debounce | Time in milliseconds to wait before executing the action | Empty (no delay) |
Triggering via RunJS
actions.setVariable('<variableName>', <variableValue>);
info
For a full quick-reference of all actions' RunJS syntax, see Run Actions from RunJS.