---
schema_version: "1"
id: 244594626cc48a78a7c5dc0951be6170eca4ac53f16d486cc781c64d13f633a5
title: Runtime Considerations for Flows That Include Aura Components
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/aura-platform/guides/aura/components/components-config-for-flow-tips-runtime.md
canonical_url: https://developer.salesforce.com/docs/platform/aura-platform/guide/components-config-for-flow-tips-runtime.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 8cef8a12b863eafea3b36f9bc7e3377c71aad534dbba63a0931ad93fb9326d9c
products:
  - Lightning Aura Components Developer Guide
  - Platform Developer Content
---

# 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](https://developer.salesforce.com/media/shared/checkmark.png)|
|Experience Builder site page|![Checkmark icon](https://developer.salesforce.com/media/shared/checkmark.png)|
|Flow action|![Checkmark icon](https://developer.salesforce.com/media/shared/checkmark.png)|
|Utility bar|![Checkmark icon](https://developer.salesforce.com/media/shared/checkmark.png)|
|`flow:interview` Visualforce component| |
|`lightning:flow` Aura component|Depends on where you embed the component or whether your component includes the appropriate event handlers|

**See Also**  


-   [*Component Library*: lightning:availableForFlowScreens Interface](https://developer.salesforce.com/docs/component-library/bundle/lightning:availableForFlowScreens/documentation)

-   [*Component Library*: lightning:availableForFlowActions Interface](https://developer.salesforce.com/docs/component-library/bundle/lightning:availableForFlowActions/documentation)

-   [Events Handled in the Salesforce Mobile App and Lightning Experience](https://developer.salesforce.com/docs/platform/aura-platform/events/events-one.md)

