Loading
Prepare for Email to Become the Default Login ExperienceRead More
Automate Your Business Processes with Salesforce Flow
Supported Lightning Component Attribute Types in Flows

Supported Lightning Component Attribute Types in Flows

Lightning components support specific data types in flows. Map only supported types and their collections between flows and Lightning components.

Required Editions

View supported editions.
Flow Data Type Lightning Component Attribute Type Valid Values
Apex Custom Apex Class Apex classes that define @AuraEnabled fields. Supported data types in an Apex class are Boolean, Integer, Long, Decimal, Double, Date, DateTime, and String. Single values as well as Lists are supported for each data type.
Boolean Boolean
  • True values: true, 1, or equivalent expression
  • False values: false, 0, or equivalent expression
Currency Number Numeric value or equivalent expression
Date Date "YYYY-MM-DD" or equivalent expression
Date/Time (API name is DateTime) DateTime "YYYY-MM-DDThh:mm:ssZ" or equivalent expression
Number Number Numeric value or equivalent expression

Multi-Select Picklist

(API name is Multi-Select Picklist.)

String

String value or equivalent expression using this format:

"Blue; Green; Yellow"

Picklist String String value or equivalent expression

Record, with a specified object

(API name is SObject.)

The API name of the specified object, such as Account or Case

Map of key-value pairs or equivalent expression.

Flow record values map only to attributes whose type is the specific object. For example, an account record variable can be mapped only to an attribute whose type is Account. Flow data types aren’t compatible with attributes whose type is Object.

Text

(API name is Text.)

String String value or equivalent expression
 
Loading
Salesforce Help | Article