Newer Version Available
Considerations for Configuring Components for Flow Screens
When you create Lightning components for flow screens, understand which data types are
supported and how to work with attributes.
Supported Data Types and Conversions
Not all aura data types are supported in flow screens. You can map only these types and their associated collection types between flow screens and components.
| Flow Data Type | Aura Attribute Type | Valid Values |
|---|---|---|
| Boolean | Boolean |
|
| Date | Date | "YYYY-MM-DD" or equivalent expression |
| DateTime | DateTime | "YYYY-MM-DDThh:mm:ssZ" or equivalent expression |
| Number | Number | Numeric value or equivalent expression |
| SObject | SObject | Map of key-value pairs or equivalent expression. |
| Text | String | String value or equivalent expression |
Attributes
- In a design:attribute node, the Cloud Flow Designer supports only the name, label, and description attributes. The other attributes are ignored.
- To validate min and max lengths for a component attribute, create logic in your flow or component. For example, validate the length of the values by using a flow formula or the component's controller.
- To edit or delete a design attribute for a component that implements the lightning:availableForFlowScreens interface, remove the use of the attribute in all flow versions and then make your changes.