Workflow Inputs
To reference Workflow input, use the following syntax:Event payload
To reference data in an event that triggered an Event-Based Workflows, use the following syntax:Step output
To reference step’s output, use the following syntax:💡 S1 refers to the step’s ID. You may also use last instead of the step ID to get the output of the last executed step.
JSON dot walking
The expression language supports JSON dot walking, which enables you to copy specific key-value pairs from a JSON object output and use the specific key-value pair in subsequent steps of your Workflow. For example:
Step Status
To use a previous step’s output, use the following syntax:Workflow Variables
To use Workflow’s variables, use the following syntax:Metadata Variables
The following metadata variables get populated for each Workflow:Python syntax
In python steps variables, steps and inputs are exposed using thecontext variable. Thus, all the above expressions can be accessed using the following expressions in python: