Introduction To Salesforce Flow Resources

17 Flow Resources You Need To Know In Salesforce Flow
Each resource represents a value that you can reference throughout the flow.


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.


Actions
Output values that are stored automatically from Action elements.
 
Choice
Create a choice option to use in a screen component, such as a Radio Buttons or Multi-Select Picklist component.
 
Collection Choice Set
Generate a set of choices by using an existing collection of records.
 
Constant
Store a fixed value that can be used but not changed throughout a flow.
 
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.
 
Element
Any element that you add to a flow is available as a resource with the was visited operator in decision outcome criteria. An element is considered visited when it’s executed in the flow interview.

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 True. If the element wasn’t executed or was executed and resulted in an error, the resource’s value is False.
 
Formula
Calculate a value when the formula is used in the flow.
 
Global Constant
Fixed, system-provided values, such as EmptyString, True, and False.
 
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.
 
Pause Configuration
When you add a Pause element to a flow, its configurations are available as Boolean resources. If a configuration’s pause conditions are met, the resource’s value is True. If the configuration has no pause conditions set, the resource’s value is always True.
 
Picklist Choice Set
Generate a set of choices by using the values of a picklist or multi-select picklist field.
 
Picklist Values
System-provided values for picklist fields in record variables and record collection variables. Available only for Assignment elements and conditions.
 
Record Choice Set
Generate a set of choices by using a filtered list of records.
 
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.
 
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.
 
Text Template
Store text that can be changed and used throughout the flow.
 
Variable
Store a value that can be used or changed throughout the flow.

    0 Comments