You are here:
Flow Resources
Each resource represents a value that you can reference throughout the flow.
Required Editions
| View supported editions. |
In Flow Builder, the Manager panel displays the resources that are available in the flow.
You can create some resources by clicking New Resource. Some resources, such as global constants and global variables, are provided by the system. Other resources are automatically created when you add an element to a flow. For example, when you add a Decision element, a resource for each decision outcome is automatically created.
| Flow Resource | Description | Creatable from the Resources Tab |
|---|---|---|
| Actions | Output values that are stored automatically from Action elements. | No |
| Choice | Create a choice option to use in a screen component, such as a Radio Buttons or Multi-Select Picklist component. | Yes |
| Collection Choice Set | Generate a set of choices by using an existing collection of records. | Yes |
| Constant | Store a fixed value that you can use throughout a flow. | Yes |
| Decision Outcome | When you add a Decision element to a flow, its outcomes are available as
Boolean resources. If an outcome path has already been executed in the flow
interview, the resource's value is True. |
No |
| Element | Any element that you add to a flow is available as a resource with the
Any element that you add to a flow that supports a fault
connector is available as a Boolean resource. If the element is already
successfully executed in the flow interview, the resource's value is
|
No |
| Formula | Calculate a value when the formula is used in the flow. | Yes |
| Global Constant | Fixed, system-provided values, such as EmptyString, True, and False. |
No |
| Global Variable | System-provided variables that reference information about the Salesforce org or running user, such as the user’s ID or the API session ID. | No |
| Wait for Conditions, Wait Until Date, and Wait for Amount of Time | When you add a Wait element to a flow, its configurations are available as
Boolean resources. If a configuration’s wait conditions are met, the resource’s
value is True. If the configuration has no wait
conditions set, the resource’s value is always True. |
No |
| Picklist Choice Set | Generate a set of choices by using the values of a picklist or multi-select picklist field. | Yes |
| Picklist Values | System-provided values for picklist fields in record variables and record collection variables. Available only for Assignment elements and conditions. | No |
| Record Choice Set | Generate a set of choices by using a filtered list of records. | Yes |
| Screen Component | Any screen component that you add to a flow is available as a resource. The resource value depends on the type of screen component. The value for a Text component is what the user enters. The value for a Picklist component is the stored value of the choice that the user selects. The value for a Display Text component is the text that’s displayed to the user. | No |
| Stage | Represent the user’s progress throughout the flow. To identify which stages are relevant to the user throughout the flow, assign the stages to the stage system variables. You can reference stages in flow logic or in the UI, such as with a progress indicator. For example, in a payment flow, the stages are payment details, shipping details, billing details, and order confirmation. | Yes |
| Text Template | Store text that can be changed and used throughout the flow. To format the text, use HTML tags. | Yes |
| Variable | Store a value that can be changed throughout the flow. | Yes |

