You are here:
$Flow Global Variables Flow Orchestration Resource
A $Flow global variable provides information about
the running orchestration. Some variables contain system-provided values. You can update the other
variables throughout the orchestration by storing output values in the variables.
Required Editions
| View supported editions for Flow Orchestration. |
| Global Variable | Supported Resource Types | Description | Value Set By |
|---|---|---|---|
$Flow.ActiveStages
|
Stage | A collection of stages that are relevant to the current path of the flow. This system variable references the flow Stage resource, not the orchestration Stage element. It can only be used in flows, including those flows called by an orchestration step, but it isn’t supported for orchestrations. |
Assignment |
$Flow.CurrentDate
|
Text, Date, and Date/Time | Date when the flow interview executes the element that references the global variable. | System |
$Flow.CurrentRecord
|
Text | ID of a related record. The value must be a single ID for a valid object. All custom objects and most standard objects are valid. When a user pauses the flow interview or the interview executes a Wait element, the interview is associated with this record by creating a FlowRecordRelation record. If the ID isn’t valid, the interview fails to pause. |
Assignment |
$Flow.CurrentStage
|
Stage | The currently selected stage. This system variable references the flow Stage resource, not the orchestration Stage element. It can only be used in flows, including those flows called by an orchestration step, but it isn’t supported for orchestrations. |
Assignment |
$Flow.CurrentDateTime
|
Text, Date, and Date/Time | Date and time when the flow interview executes the element that references the global variable. | System |
$Flow.FaultMessage
|
Text | System fault message that can help flow administrators troubleshoot runtime issues. | System |
$Flow.InterviewGuid
|
Text | Unique identifier for the interview. | System |
$Flow.InterviewStartTime
|
Text, Date, and Date/Time | Date and time when the flow interview started. For a flow launched by a Subflow
element, $Flow.InterviewStartTime indicates when the
initial parent flow started. |
System |

