Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Which Custom Lightning Component Attribute Types Are Supported in Flows?
| 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 |
| Time | Time | "hh:mm:ss.SSSZ" or equivalent expression |