---
schema_version: "1"
id: 74801e5069bbc2303b9fa93fa29521c17574782fc03ad4b000cf485223dafbd5
title: FlowSettings
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_meta/meta_flowsettings.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_flowsettings.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: a32e64879f7720080c5ebea135d0fb5f5ce6fa32240a9d19c578fd605433ccf5
description: Represents the Salesforce settings for processes and flows, such as whether Lightning runtime for flows is enabled.
---
# FlowSettings

Represents the Salesforce settings for processes and flows, such as whether Lightning runtime for flows is enabled.

In the package manifest, all organization settings metadata types are accessed using the Settings name. See [Settings](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_settings.htm "Represents the organization settings related to a feature. For example, your password policies, session settings and network access controls are all available in the SecuritySettings component type.") for details.

## File Suffix and Directory Location

FlowSettings values are stored in the Flow.settings file in the settings directory. The .settings files are different from other named components because there’s only one settings file for each settings component.

## Version

FlowSettings components are available in API version 47.0 and later.

## Fields

<table class="featureTable sort_table" summary="">



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d518734e94">Field Name</th>

              <th class="featureTableHeader  " id="d518734e97">Field Type</th>

              <th class="featureTableHeader  " id="d518734e100">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d518734e94" data-title="Field Name"><span class="keyword parmname">canDebugFlowAsAnotherUser</span></td>

              <td class="entry" headers="d518734e97" data-title="Field Type">boolean</td>

              <td class="entry" headers="d518734e100" data-title="Description">Indicates whether a flow can be debugged as another user (<samp class="codeph nolang">true</samp>) or not (<samp class="codeph nolang">false</samp>). Corresponds to the <span class="keyword parmname">Let admins debug flows as other
                  users</span> field on the Process Automation Settings page in Setup. Available
                in API version 50.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d518734e94" data-title="Field Name"><span class="keyword parmname">doesEnforceApexCpuTimeLimit</span></td>

              <td class="entry" headers="d518734e97" data-title="Field Type">boolean</td>

              <td class="entry" headers="d518734e100" data-title="Description">Indicates whether Salesforce accurately measures the CPU time that flows and
                processes consume (<samp class="codeph nolang">true</samp>) or not (<samp class="codeph nolang">false</samp>). <p class="p">Corresponds to the Accurately Measure the
                  CPU Time Consumption of Flows and Processes release update. Available in API
                  version 51.0 and later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d518734e94" data-title="Field Name"><span class="keyword parmname">doesFormulaEnforceDataAccess</span></td>

              <td class="entry" headers="d518734e97" data-title="Field Type">boolean</td>

              <td class="entry" headers="d518734e100" data-title="Description">Indicates whether formula resources and formula fields in a flow enforce
                record-level security (<samp class="codeph nolang">true</samp>) or not (<samp class="codeph nolang">false</samp>). <p class="p">Corresponds to the Enforce Data Access in
                  Flow Formulas critical update. Available in API version 48.0 and
                  later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d518734e94" data-title="Field Name"><span class="keyword parmname">doesFormulaGenerateHtmlOutput</span></td>

              <td class="entry" headers="d518734e97" data-title="Field Type">boolean</td>

              <td class="entry" headers="d518734e100" data-title="Description">Indicates whether flow formula functions that generate HTML, such as <samp class="codeph nolang">BR()</samp>, <samp class="codeph nolang">IMAGE()</samp>,
                and <samp class="codeph nolang">HYPERLINK()</samp>, include encoded markers
                (<samp class="codeph nolang">__BR_ENCODED__</samp>) (<samp class="codeph nolang">true</samp>) or not (<samp class="codeph nolang">false</samp>). Available in
                API version 48.0 and later. </td>

            </tr>

            <tr>
              <td class="entry" headers="d518734e94" data-title="Field Name"><span class="keyword parmname">enableFlowBREncodedFixEnabled</span></td>

              <td class="entry" headers="d518734e97" data-title="Field Type">boolean</td>

              <td class="entry" headers="d518734e100" data-title="Description">Indicates whether <samp class="codeph nolang">BR()</samp> functions in flow
                and process formulas result in a line break (<samp class="codeph nolang">true</samp>) or resolve to <samp class="codeph nolang">_BR_ENCODED_</samp> as
                a literal value (<samp class="codeph nolang">false</samp>). <p class="p">Corresponds to the
                  Use the BR() Function in Flows and Processes critical update.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d518734e94" data-title="Field Name"><span class="keyword parmname">enableFlowCustomPropertyEditor</span></td>

              <td class="entry" headers="d518734e97" data-title="Field Type">boolean</td>

              <td class="entry" headers="d518734e100" data-title="Description">Indicates whether an org has custom property editors enabled for actions and
                screen fields in Flow Builder (<samp class="codeph nolang">true</samp>) or not
                (<samp class="codeph nolang">false</samp>).<p class="p">This field is available in API
                  version 48.0 to 50.0. The field is deprecated in API version 50.0 and later. All
                  orgs that have Flow Builder support custom property editors for actions and screen
                  fields.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d518734e94" data-title="Field Name"><span class="keyword parmname">enableFlowDeployAsActiveEnabled</span></td>

              <td class="entry" headers="d518734e97" data-title="Field Type">boolean</td>

              <td class="entry" headers="d518734e100" data-title="Description">Indicates whether processes and flows can be deployed as active via change sets
                or Metadata API. When the value is <samp class="codeph nolang">false</samp>, all
                processes and flows are deployed as inactive. When the value is <samp class="codeph nolang">true</samp>, deploying an active process or flow in a
                production org causes your Apex tests to run. If Apex tests don’t launch your org’s
                required percentage of active processes and autolaunched flows, the deployment is
                rolled back.<p class="p">The default value is <samp class="codeph nolang">false</samp> for
                  production orgs and is <samp class="codeph nolang">true</samp> for
                  non-production orgs such as scratch, sandbox, and developer
                  orgs.</p>
                <p class="p">Corresponds to the <span class="keyword parmname">Deploy processes and flows as
                    active</span> field on the Process Automation Settings page in Setup. The
                  field appears in the user interface on production orgs only.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d518734e94" data-title="Field Name"><span class="keyword parmname">enableFlowFieldFilterEnabled</span></td>

              <td class="entry" headers="d518734e97" data-title="Field Type">boolean</td>

              <td class="entry" headers="d518734e100" data-title="Description">Indicates whether flows can successfully execute Create Records and Update
                Records elements that update fields to which the running doesn’t have edit access.
                By default (<samp class="codeph nolang">false</samp>), the Create Records or
                Update Records element fails and executes the fault path if it has one. When the
                value is <samp class="codeph nolang">true</samp>, the element sets only the fields
                that the running user can edit. No notification is sent when some fields aren’t
                updated.<p class="p">Corresponds to the <span class="keyword parmname">Filter inaccessible fields from flow
                    requests</span> field on the Process Automation Settings page in
                  Setup.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d518734e94" data-title="Field Name"><span class="keyword parmname">enableFlowFormulasFixEnabled</span></td>

              <td class="entry" headers="d518734e97" data-title="Field Type">boolean</td>

              <td class="entry" headers="d518734e100" data-title="Description">Indicates whether process and flow formulas return null values when the
                calculations involve a null record variable or null lookup relationship field. When
                the value is <samp class="codeph nolang">true</samp>, those formulas return null
                values at run time. When the value is <samp class="codeph nolang">false</samp>,
                those formulas return unhandled exceptions at run time.<p class="p">Corresponds to the Check
                  for Null Record Variables or Null Values of Lookup Relationship Fields in Process
                  and Flow Formulas critical update.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d518734e94" data-title="Field Name"><span class="keyword parmname">enableFlowInterviewSharingEnabled</span></td>

              <td class="entry" headers="d518734e97" data-title="Field Type">boolean</td>

              <td class="entry" headers="d518734e100" data-title="Description">Indicates whether users can resume the paused flow interviews that they have
                edit access to. By default (<samp class="codeph nolang">true</samp>), users can
                resume interviews that are shared with them, either directly or via the role
                hierarchy. When the value is <samp class="codeph nolang">false</samp>, each paused
                interview can be resumed only by the interview owner or a flow admin who has view
                access to the interview.<p class="p">Corresponds to the <span class="keyword parmname">Let users resume shared flow
                    interviews</span> field on the Process Automation Settings page in
                  Setup.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d518734e94" data-title="Field Name"><span class="keyword parmname">enableFlowListMetadataLargeCapEnabled</span></td>

              <td class="entry" headers="d518734e97" data-title="Field Type">boolean</td>

              <td class="entry" headers="d518734e100" data-title="Description">Reserved for internal use.</td>

            </tr>

            <tr>
              <td class="entry" headers="d518734e94" data-title="Field Name"><span class="keyword parmname">enableFlowNullPreviousValueFix</span></td>

              <td class="entry" headers="d518734e97" data-title="Field Type">boolean</td>

              <td class="entry" headers="d518734e100" data-title="Description">Indicates whether each process evaluates criteria by always using the original
                record field values from when the process begins. When the value is <samp class="codeph nolang">true</samp>, each process with an Update Records action and
                multiple criteria nodes always evaluates criteria using the original field values of
                the record. When the value is <samp class="codeph nolang">false</samp>, processes
                evaluate the updated values of record fields that were null when the process
                began.<p class="p">Corresponds to the Evaluate Criteria Based on Original Record Values in
                  the Process Builder critical update.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d518734e94" data-title="Field Name"><span class="keyword parmname">enableFlowPauseEnabled</span></td>

              <td class="entry" headers="d518734e97" data-title="Field Type">boolean</td>

              <td class="entry" headers="d518734e100" data-title="Description">Indicates whether screens can display the Pause button so that users can pause
                flow interviews. By default, the value is <samp class="codeph nolang">false</samp>.<p class="p">Corresponds to the <span class="keyword parmname">Let users pause flows</span>
                  field on the Process Automation Settings page in Setup.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d518734e94" data-title="Field Name"><span class="keyword parmname">enableFlowReactiveScreens</span></td>

              <td class="entry" headers="d518734e97" data-title="Field Type">boolean</td>

              <td class="entry" headers="d518734e100" data-title="Description">Indicates whether supported screen components in flows running on API version
                57.0 and 58.0 can react to changes in other components on the same screen. This
                setting isn’t applicable to flows running on API version 59.0 and later. By default,
                the value is <samp class="codeph nolang">false</samp>. To make a component
                reactive, reference the output of another component on the same screen in the
                configuration pane.<p class="p">Corresponds to the <span class="keyword parmname">Enable Reactive Components for
                    Specific Flow Versions</span> field on the Process Automation Settings page
                  in Setup.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d518734e94" data-title="Field Name"><span class="keyword parmname">enableFlowUseApexExceptionEmail</span></td>

              <td class="entry" headers="d518734e97" data-title="Field Type">boolean</td>

              <td class="entry" headers="d518734e100" data-title="Description">Indicates whether process and flow error emails are sent to:<ul class="ul bulletList">
                  <li class="li">The user who last modified the process or flow (<samp class="codeph nolang">false</samp>)</li>

                  <li class="li">The addresses set on the Apex Exception Email page in Setup (<samp class="codeph nolang">true</samp>)</li>

                </ul>
                <p class="p">By default, the value is <samp class="codeph nolang">false</samp>.
                  Corresponds to the <span class="keyword parmname">Send Process or Flow Error Email to</span> field
                  on the Process Automation Settings page in Setup.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d518734e94" data-title="Field Name"><span class="keyword parmname">enableFlowViaRestUsesUserCtxt</span></td>

              <td class="entry" headers="d518734e97" data-title="Field Type">boolean</td>

              <td class="entry" headers="d518734e100" data-title="Description">Indicates whether a flow that runs via REST API uses the running user’s profile
                and permission sets to determine the object permissions and field-level access of
                the flow.<p class="p">Corresponds to the Run Flows in User Context via REST API critical
                  update. Available in API version 54.0 and later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d518734e94" data-title="Field Name"><span class="keyword parmname">enableFlowsLightningApp </span></td>

              <td class="entry" headers="d518734e97" data-title="Field Type">boolean</td>

              <td class="entry" headers="d518734e100" data-title="Description">Indicates whether users with the necessary permissions can use the Automation
                Lightning app to create, manage, and monitor flows, orchestrations, and flow
                approval processes; track flow interviews; browse available actions; and configure
                flow logging. Corresponds to the <strong class="ph uicontrol">Enable the Automation Lightning
                  App</strong> setting on the Process Automation Settings page in Setup.
                Available in API version 68.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d518734e94" data-title="Field Name"><span class="keyword parmname">enableInvocableFlowFixEnabled</span></td>

              <td class="entry" headers="d518734e97" data-title="Field Type">boolean</td>

              <td class="entry" headers="d518734e100" data-title="Description">Removed in API version 50.0 and later.<p class="p">Indicates whether all autolaunched
                  flow interviews are executed when they’re invoked in bulk from a process or the
                  Invocable Actions resource in REST API (<samp class="codeph nolang">true</samp>)
                  or not (<samp class="codeph nolang">false</samp>). When the value is <samp class="codeph nolang">false</samp>, flow interviews that share identical input
                  parameters aren’t executed.</p>
                <p class="p">Corresponds to the Execute All Flow Interviews
                  When Invoked in Bulk critical update.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d518734e94" data-title="Field Name"><span class="keyword parmname">enableLightningRuntimeEnabled</span></td>

              <td class="entry" headers="d518734e97" data-title="Field Type">boolean</td>

              <td class="entry" headers="d518734e100" data-title="Description">Indicates whether flows that are launched from a URL or from Setup use the
                Lightning runtime experience (<samp class="codeph nolang">true</samp>) or the
                Classic runtime experience (<samp class="codeph nolang">false</samp>). By default,
                the value is <samp class="codeph nolang">true</samp>.<p class="p">Corresponds to the
                  <span class="keyword parmname">Enable Lightning runtime for flows</span> field on the Process
                  Automation Settings page in Setup.
                </p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d518734e94" data-title="Field Name"><span class="keyword parmname">isAccessToInvokedApexRequired</span></td>

              <td class="entry" headers="d518734e97" data-title="Field Type">boolean</td>

              <td class="entry" headers="d518734e100" data-title="Description">Indicates whether flows can invoke Apex classes only when the running users’
                profiles or permission sets include access to those Apex classes. When the value is
                <samp class="codeph nolang">false</samp>, Apex class security doesn’t apply to
                flows.<p class="p">Corresponds to the Require User Access to Apex Classes Invoked by Flow
                  critical update.</p>
                <p class="p">This field is available in API versions 47.0 to 58.0. The
                  field is deprecated in API version 59.0 and later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d518734e94" data-title="Field Name"><span class="keyword parmname">isApexPluginAccessModifierRespected</span></td>

              <td class="entry" headers="d518734e97" data-title="Field Type">boolean</td>

              <td class="entry" headers="d518734e100" data-title="Description">Indicates whether flows respect the public access modifiers for legacy Apex
                actions. When the value is <samp class="codeph nolang">true</samp>:<ul class="ul bulletList">
                  <li class="li">Flows fail when they execute public legacy Apex actions from a different
                    namespace.</li>

                  <li class="li">Public legacy Apex actions from a different namespace aren't available in Flow
                    Builder.</li>

                  <li class="li">Global legacy Apex actions with public <samp class="codeph nolang">describe</samp> or <samp class="codeph nolang">invoke</samp> methods are
                    unavailable to flows in a different namespace.</li>

                </ul>
                When the value is <samp class="codeph nolang">false</samp>, you can add
                public legacy Apex actions to flows even though they’re not supported. Also, global
                legacy Apex actions with public <samp class="codeph nolang">describe</samp> or
                <samp class="codeph nolang">invoke</samp> methods are available to flows in a
                different namespace.<p class="p">Corresponds to the Make Flows Respect Access Modifiers for
                  Legacy Apex Actions critical update. Available in API version 48.0 and
                  later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d518734e94" data-title="Field Name"><span class="keyword parmname">isEnhancedFlowListViewVisible</span></td>

              <td class="entry" headers="d518734e97" data-title="Field Type">boolean</td>

              <td class="entry" headers="d518734e100" data-title="Description">Indicates whether the enhanced Flows list view in Lightning Experience replaces
                the Classic Flows list view (<samp class="codeph nolang">true</samp>) or not
                (<samp class="codeph nolang">false</samp>). The default value is <samp class="codeph nolang">true</samp>. If the field is set to <samp class="codeph nolang">false</samp>, the Classic Flows list view replaces the
                enhanced list view.</td>

            </tr>

            <tr>
              <td class="entry" headers="d518734e94" data-title="Field Name"><span class="keyword parmname">isFlowApexContextRetired</span></td>

              <td class="entry" headers="d518734e97" data-title="Field Type">boolean</td>

              <td class="entry" headers="d518734e100" data-title="Description">Indicates whether the rules for enforcing explicit access to Apex classes are
                disabled (<samp class="codeph nolang">true</samp>) or not (<samp class="codeph nolang">false</samp>). For most Salesforce orgs the default value is
                <samp class="codeph nolang">true</samp>. <p class="p">Corresponds to the Disable Rules for
                  Enforcing Explicit Access to Apex Classes release update.</p>
                <p class="p">This field is
                  available in API versions 49.0 to 58.0. The field is deprecated in API version
                  59.0 and later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d518734e94" data-title="Field Name"><span class="keyword parmname">isFlowBlockAccessToSessionIDEnabled</span></td>

              <td class="entry" headers="d518734e97" data-title="Field Type">boolean</td>

              <td class="entry" headers="d518734e100" data-title="Description">Indicates whether a valid session ID is returned in API.SessionID (<samp class="codeph nolang">false</samp>) or not (<samp class="codeph nolang">true</samp>). The default value is false. When the value is <samp class="codeph nolang">true</samp>, flows that access the session ID variable
                receive a placeholder string instead of a valid session ID.</td>

            </tr>

            <tr>
              <td class="entry" headers="d518734e94" data-title="Field Name"><span class="keyword parmname">isManageFlowRequiredForAutomationCharts</span></td>

              <td class="entry" headers="d518734e97" data-title="Field Type">boolean</td>

              <td class="entry" headers="d518734e100" data-title="Description">Indicates whether the Manage Flow permission is required to view all charts in
                Automation Home (Beta) (<samp class="codeph nolang">true</samp>) or not (<samp class="codeph nolang">false</samp>). The default value is <samp class="codeph nolang">false</samp>. All users with the View Setup and
                Configuration permission can view all charts in Automation Home. If the field is set
                to <samp class="codeph nolang">true</samp>, then users with the View Setup and
                Configuration permission can view only the Total Started Automations by Process Type
                chart. The Manage Flow permission is required to view all charts.</td>

            </tr>

            <tr>
              <td class="entry" headers="d518734e94" data-title="Field Name"><span class="keyword parmname">isTimeResumedInSameRunContext</span></td>

              <td class="entry" headers="d518734e97" data-title="Field Type">boolean</td>

              <td class="entry" headers="d518734e100" data-title="Description">Indicates whether paused autolaunched flows always resume in the same context
                and retain the user access that they had before being paused (<samp class="codeph nolang">true</samp>) or not (<samp class="codeph nolang">false</samp>).<p class="p">Corresponds to the Make Paused Flow Interviews Resume in the
                  Same Context with the Same User Access release update.</p>
                <p class="p">This field is
                  available in API versions 57.0 and 58.0. Removed in API version 59.0 and
                  later.</p>
              </td>

            </tr>

          </tbody>

        </table>

## Declarative Metadata Sample Definition

Here’s an example of the Flow.settings file.

<?xml version="1.0" encoding="UTF-8"?>
<FlowSettings xmlns="http://soap.sforce.com/2006/04/metadata">
    <doesFormulaEnforceDataAccess\>true</doesFormulaEnforceDataAccess\>
    <enableFlowBREncodedFixEnabled\>true</enableFlowBREncodedFixEnabled\>
    <enableFlowDeployAsActiveEnabled\>false</enableFlowDeployAsActiveEnabled\>
    <enableFlowFieldFilterEnabled\>false</enableFlowFieldFilterEnabled\>
    <enableFlowFormulasFixEnabled\>true</enableFlowFormulasFixEnabled\>
    <enableFlowInterviewSharingEnabled\>true</enableFlowInterviewSharingEnabled\>
    <enableFlowNullPreviousValueFix\>true</enableFlowNullPreviousValueFix\>
    <enableFlowPauseEnabled\>true</enableFlowPauseEnabled\>
    <enableFlowUseApexExceptionEmail\>false</enableFlowUseApexExceptionEmail\>
    <enableLightningRuntimeEnabled\>true</enableLightningRuntimeEnabled\>
    <isApexPluginAccessModifierRespected\>true</isApexPluginAccessModifierRespected\>
    <isEnhancedFlowListViewVisible\>true</isEnhancedFlowListViewVisible\>
    <isManageFlowRequiredForAutomationCharts\>false</isManageFlowRequiredForAutomationCharts\>
</FlowSettings\>

## Example Package Manifest

Here’s an example package.xml that references the previous definition.

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
	<types\>
		<members\>Flow</members\>
		<name\>Settings</name\>
	</types\>
	<version\>47.0</version\>
</Package\>

## Wildcard Support in the Manifest File

The wildcard character \* (asterisk) in the package.xml manifest file doesn’t apply to metadata types for feature settings. The wildcard applies only when retrieving all settings, not for an individual setting. For details, see [Settings](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/meta_settings.htm). For information about using the manifest file, see [Deploying and Retrieving Metadata with the Zip File](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/file_based_zip_file.htm).