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.

Runtime Considerations for Flows That Include Aura Components

Depending on where you run your flow, Aura components may look or behave differently than expected. The flow runtime app that's used for some distribution methods doesn't include all the necessary resources from the Lightning Component framework. When a flow is run from Flow Builder or a direct flow URL (https://yourDomain.my.salesforce.com/flow/MyFlowName), force and lightning events aren’t handled.

To verify the behavior of your Aura components, test your flow in a way that handles force and lightning events, such as force:showToast. You can also add the appropriate event handlers directly to your component.

Distribution Method Handles force and lightning Events
Direct flow URL
Run and Debug buttons in Flow Builder
Run links on flow detail pages and list views
Web tab
Custom button or link
Lightning page Checkmark icon
Experience Builder site page Checkmark icon
Flow action Checkmark icon
Utility bar Checkmark icon
flow:interview Visualforce component
lightning:flow Aura component Depends on where you embed the component or whether your component includes the appropriate event handlers