Variables let you reuse information from the workflow trigger and from earlier workflow activities in later activity configurations.
Variables replace workflow tokens. When you configure an activity, the variables available for selection depend on the trigger and the outputs from earlier activities in the workflow.
Where variables come from
- Start: Provides trigger-level information, such as the workflow initiator and the object that started the workflow.
- Earlier activities: Provide outputs that can be used by later activities. For example, outputs from a Form activity or a Get Asset activity can be used in later steps.
- Make API Call: Provides standard response outputs and any custom outputs that are configured for the activity.
Asset information
Workflow does not assume that every workflow has asset context. If a later activity needs asset properties, add a Get Asset activity earlier in the workflow and use the variables that it returns.
When referencing an asset property manually, use the property's API name rather than the
display name. For example, use a pattern such as properties.<API name>
when this syntax is supported for the field that you are configuring.
Scores and complex values
Some values are returned in a system format. For example, scores might be returned as
decimal values, where 0.7 represents 70 percent. Some variables return a map
or object rather than a single display value.