Which Custom Lightning Component Attribute Types Are Supported in Flows?

Not all custom Lightning component data types are supported in flows. You can map only these types and their associated collection types between flows and custom Lightning components.

Flow Data TypeLightning Component Attribute TypeValid Values
ApexCustom Apex ClassApex 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.
BooleanBooleanTrue values: true, 1, or equivalent expression. False values: false, 0, or equivalent expression.
CurrencyNumberNumeric value or equivalent expression
DateDate"YYYY-MM-DD" or equivalent expression
Date/Time (API name is DateTime)DateTime"YYYY-MM-DDThh:mm:ssZ" or equivalent expression
NumberNumberNumeric value or equivalent expression
Multi-Select Picklist (API name is Multi-Select Picklist.)StringString value or equivalent expression using this format: "Blue; Green; Yellow"
PicklistStringString value or equivalent expression
Record, with a specified object (API name is SObject.)The API name of the specified object, such as Account or CaseMap 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.)StringString value or equivalent expression
TimeTime”hh:mm:ss.SSSZ” or equivalent expression

See Also