Loading
Prepare for Email to Become the Default Login ExperienceRead More
Automate Your Business Processes with Salesforce Flow
Aura Component Runtime Considerations for Flows

Aura Component Runtime Considerations for Flows

Aura components in running flows can behave differently than expected. Review Aura component behavior by distribution method before deployment.

Required Editions

View supported editions.

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 No
Run and Debug buttons in Flow Builder No
Run links on flow detail pages and list views No
Web tab No
Custom button or link No
Lightning page Yes
Experience Builder site page Depends on the site. Aura sites can handle all flows. LWR sites have limitations, including not being able to run flows that use Aura components.
Flow action Yes
Utility bar Yes
flow:interview Visualforce component No
lightning:flow Aura component Depends on where you embed the component or whether your component includes the appropriate event handlers
 
Loading
Salesforce Help | Article