---
schema_version: "1"
id: 2e0bd72b8a635ea1005831bb4413f12cccd064d3388f9892a6f5152d32789b53
title: Considerations and Limitations for Flows in Lightning Pages
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/lightning_app_builder_customize_lex_pages_considerations_flow.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.lightning_app_builder_customize_lex_pages_considerations_flow.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 1e70b051332042a98f22c90e4a77fdf1d030dcd0d4668bf74fdd2da36ea61dbe
description: Here are some things to keep in mind when you add a flow component to a Lightning page.
products:
  - Salesforce Platform
  - Security
release: "264"
---
# Considerations and Limitations for Flows in Lightning Pages

Here are some things to keep in mind when you add a flow component to a Lightning page.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: both Salesforce Classic and Lightning Experience</td></tr><tr class="" id="lightning_app_builder_customize_lex_pages_considerations_flow__FireflyEdition_noExperience"><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <span id="lightning_app_builder_customize_lex_pages_considerations_flow__FireflyEdition_noExperience_ph"><a name="lightning_app_builder_customize_lex_pages_considerations_flow__FireflyEdition_noExperience_ph"></a><strong>Essentials</strong>, <strong>Professional</strong>, <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</span></td></tr></tbody></table>

Lightning pages always use Lightning runtime, so also review [Limitations of Lightning Runtime for Flows](https://help.salesforce.com/s/articleView?id=platform.flow_considerations_lex_runtime.htm&type=5&language=en_US).

- Running Flows from a Lightning Page—When a user opens a Lightning page that has a flow component, the flow runs when the page loads. Make sure that the flow doesn’t perform any actions, such as create or delete records, before the first screen.
- Input Variable Limitations—These variables aren’t supported.
    - Collection variables
    - Record variables
    - Record collection variables
- The component supports only manually entered values for input variables.
- Text input variables accept a maximum length of 4,000 characters.
- Deployment Considerations—Change sets and the Metadata API deploy all flows as inactive, which users can’t run. If you deploy a Lightning page (known as FlexiPage in the API) that contains a flow component, make sure to activate the flow.