You are here:
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 |
|
| 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 |
Did this article solve your issue?
Let us know so we can improve!

