Custom variables#
Custom variables allow you to create custom values that can be used in the Code node by all users in their pathways.
During pathway execution:
* a custom variable added to pathway nodes are replaced by the custom value as a string
* if the custom variable is null, it is treated as undefined
so that pathways do not immediately fail
Before you begin#
How do I create custom variables?#
Note
Keys and variables can use lowercase and uppercase letters, numbers and underscores
- Click Variables > Add Variable
| Field | Description | Maximium string length (characters) | Additional information |
|---|---|---|
| key
| name for variable that is called in nodes | 50 | Call the variable in the code node using $vars.<variable-name>
|
| value
| Value to insert into nodes as a string | 220 | |
- Click Save
Edit and delete variables#
- Click Variables > mouseover the variable
- Click Edit or Delete