Skip to main content

Variable

Uncontrolled node

Overview

The Variable node allows you to retrieve a variable with a specific name (or path). Every Initellectible workflow has an internal storage system that allows you to store values in variables. Variables do persist across multiple workflow events, but are cleared when the workflow is restarted. Variables are stored in a name-value pair format using the Set Variables node, and can be accesses elsewhere in the workflow with the this node, or via handlebars by using the name of the variable. The node will retrieve the value at a particular name, and immediately returns the value, (it does not have to be explicitly trigger). Values within more complex data structures can be retrieved using the dot or slash notation. For example, if you have a list variable called myList and you want to retrieve the value at index 2, you can use myList.2 or myList/2. The same applies to dictionaries, where you can use myDict.uniqueKey or myDict/uniqueKey to retrieve the value at a specific key.

Inputs

InputTypeDescriptionDefault
nameTextThe name of the variable to set the value of-

Outputs

OutputTypeDescription
valueAny DataFires when the variable has been set

Examples