Variable Browser
Click the (Variable Reference) icon in a field to use the variable browser to explore all of the variables available while building a workflow. This is a combination of variables from activities, global variables, workflow variables, incident response, and workflow ouput. If you want to update a variable value based on data retrieved in a workflow, use the Set Variables core activity.
The variable browser is hierarchical, so you must step through it following the same path as the workflow itself. Variables are only available within the scope in which they are defined; for instance, if you have an atomic action within a loop, you cannot access its output outside of the loop.
To help workflow authors with content creation, target variable references have been added to the variable browser. If a workflow in its properties is configured to use a target or target group, you can open the variable browser and select the target references at the Workflow level. If an activity in its properties is configured to use a target or target group, its target references display at the Activities level. The target type is automatically populated based on the type that the action supports and will further list the input and output variables for you to select the properties of the target.
Workflow output variables have default properties including:
-
Started By (ID) - Email address of the user who ran the workflow, or ID of the automation rule or schedule.
-
Started By (Type) - What initiated the workflow, such as "by user," "incident automation rule," or "playbook task."
-
Workflow Result - Free-text property (can also be written in Markdown language) to communicate the results of the run.
-
Workflow Result Code - Auto-populated string that indicates the outcome of the workflow. For more information, see the Workflow Intent Help topic.