Custom variables#
Feature availability
- You need access to the REA Automation instance owner account to create and edit variables. All users can use existing variables.
Available in version 0.225.0 and above.
Custom variables are read-only variables that you can use to store and reuse values in REA Automation workflows.
Variables are shared
When you create a variable, it's available to everyone on your REA Automation instance.
Create variables#
To create a new variable:
- On the Variables page, select Add Variable.
- Enter a Key and Value. The maximum key length is 50 characters, and the maximum value length is 220 characters. REA Automation limits the characters you can use in the key and value to lowercase and uppercase letters, numbers, and underscores (
A-Z
,a-z
,0-9
,_
). - Select Save. The variable is now available for use in all workflows in the REA Automation instance.
Edit and delete variables#
To edit or delete a variable:
- On the Variables page, hover over the variable you want to change.
- Select Edit or Delete.
Use variables in workflows#
You can access variables in the Code node and in expressions:
1 2 |
|
All variables are strings.
During workflow execution, REA Automation replaces the variables with the variable value. If the variable has no value, REA Automation treats its value as undefined
. Workflows don't automatically fail in this case.
Variables are read-only. You must use the UI to change the values.