---
schema_version: "1"
id: f23c441a0dfe10d51983f8689937715a538194dd23cfe9d0fa993764124ec083
title: Flow
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_meta/meta_visual_workflow.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_visual_workflow.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 5615f3017f629c7eb1a9178bb0745070f8bbb65dd5c71bd65e0dcd447ee8722d
description: Represents the metadata associated with a flow that encompasses the flow's structure, logic, and run-time behavior. It allows you to build dynamic applications that guide users through interactive screens, automate processes, and connect with various Salesforce and external services. This includes managing data operations like creating, updating, or deleting records, handling complex decisions, looping through collections, and invoking actions like Apex or external services to extend functionality. A flow contains options for API versioning, various execution environments, and detailed configuration of elements to design powerful automation solutions.
---
# Flow

Represents the metadata associated with a flow that encompasses the flow's structure, logic, and run-time behavior. It allows you to build dynamic applications that guide users through interactive screens, automate processes, and connect with various Salesforce and external services. This includes managing data operations like creating, updating, or deleting records, handling complex decisions, looping through collections, and invoking actions like Apex or external services to extend functionality. A flow contains options for API versioning, various execution environments, and detailed configuration of elements to design powerful automation solutions.

![Important](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/images/icon_note_important.png)

#### Important

Where possible, we changed non-inclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.

Here are the limitations related to how you can use Metadata API to work with flows:

- You can’t use Metadata API to access a flow installed from a managed package unless the flow is a template.
- Spaces in a flow file name can lead to errors when you deploy the flow. You can include spaces at the beginning or end of a name, but these spaces are removed when you deploy the flow.
- You can deploy changes to an active flow if in a non-production org, such as a scratch or sandbox org. To deploy changes in a production org, you must enable the **Deploy processes and flows as active** preference. After you deploy changes to an active flow, the flow’s detail page shows a new flow version that’s active. The new version includes your changes.
- You can delete a flow version if it isn’t active and doesn’t have any paused interviews. If the flow version has paused interviews, wait for those interviews to resume and finish, or delete them.

![Warning](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/images/icon_note_warning.png)

#### Warning

Don’t edit the metadata of retrieved Process Builder processes, such as flow components whose processType is Workflow or InvocableProcess. If you deploy process metadata that you edited, you can’t open the process in the target org.

## Declarative Metadata File Suffix and Directory Location

Flows are stored in the Flow directory of the corresponding package directory. The file name matches the flow’s unique full name, and the extension is .flow.

## Version

The flow Metadata API is available in API version 24.0 and later.

## Flow

This metadata type represents a valid definition of a flow. This type extends the [Metadata](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/metadata.htm "The base class for all metadata types. You can’t edit this object. A component is an instance of a metadata type.") metadata type and inherits its fullName field.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">
                <a class="xref" href="#FlowActionCall">FlowActionCall</a>[]
              </td>

              <td class="entry" headers="d950606e139" data-title="Description">
                <span class="ph" id="actionCalls-desc"><a name="actionCalls-desc"><!-- --></a>An array of nodes that defines calls to
                  action.</span> This field is available in API version 31.0 and
                later.
              </td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">
                <a class="xref" href="#FlowApexPluginCall">FlowApexPluginCall</a>[]
              </td>

              <td class="entry" headers="d950606e139" data-title="Description">An array of nodes that defines calls to Apex plug-ins.</td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">number</td>

              <td class="entry" headers="d950606e139" data-title="Description">The API version that defines the execution behavior of the flow.
                This field is available in API version 50.0 and later. Flows created
                before API version 50.0 show an API version of 0 on the Flows list
                view in Setup. To show the correct API version number, create
                another version of the flow, and set the API version for running the
                flow to 49.0 or later.</td>

            </tr>

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

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

              <td class="entry" headers="d950606e139" data-title="Description">Indicates whether the flow's metrics are logged to Data Cloud.
                The default value is <samp class="codeph nolang">false</samp>.
                This field is available in API version 63.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">
                <a class="xref" href="#FlowAssignment">FlowAssignment</a>[]
              </td>

              <td class="entry" headers="d950606e139" data-title="Description">An array of assignment nodes.</td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">
                <a class="xref" href="#FlowChoice">FlowChoice</a>[]
              </td>

              <td class="entry" headers="d950606e139" data-title="Description">An array of static choice options.</td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">FlowCollectionFilterCriteria[]</td>

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

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">
                <a class="xref" href="#FlowCollectionProcessor">FlowCollectionProcessor</a>[]
              </td>

              <td class="entry" headers="d950606e139" data-title="Description">An array of nodes that process collections. This field is
                available in API version 50.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">
                <a class="xref" href="#FlowConstant">FlowConstant</a>[]
              </td>

              <td class="entry" headers="d950606e139" data-title="Description">An array of constants.</td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">
                <a class="xref" href="#FlowCustomError">FlowCustomError</a>[]
              </td>

              <td class="entry" headers="d950606e139" data-title="Description">An array of custom errors.</td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">
                <a class="xref" href="#FlowCustomProperty">FlowCustomProperty</a>[]
              </td>

              <td class="entry" headers="d950606e139" data-title="Description">An array of custom properties that specify flow properties such
                as the option to show a progress indicator in a screen flow. This
                field is available in API version 63.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">
                <a class="xref" href="#FlowDecision">FlowDecision</a>[]
              </td>

              <td class="entry" headers="d950606e139" data-title="Description">An array of decision nodes.</td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e139" data-title="Description">Description of the flow.</td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">
                <a class="xref" href="#FlowDynamicChoiceSet">FlowDynamicChoiceSet</a>[]
              </td>

              <td class="entry" headers="d950606e139" data-title="Description">An array that constructs a set of choice options based on a
                database lookup.</td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">
                <a class="xref" href="#FlowEnd">FlowEnd</a>[]
              </td>

              <td class="entry" headers="d950606e139" data-title="Description">An array of end nodes. This field is available in API version
                68.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">FlowEnvironment (enumeration of type
                string)</td>

              <td class="entry" headers="d950606e139" data-title="Description">The environment in which the flow can run. Valid values are:<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">Default</samp>—The flow can
                    run from a Visualforce component, Lightning page, flow
                    action, or custom Aura component.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Offline</samp>—The flow can
                    run only offline. Flow types that support offline flows must
                    set this value. This value is available in API version 62.0
                    and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Slack</samp>—The flow can run
                    in Slack and the default environment. You specify the Slack
                    flow environment when you save the flow.
                  </li>

                </ul>
                <p class="p">This field is available in API version 55.0 and
                  later.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">
                <a class="xref" href="#FlowExitRule">FlowExitRule</a>[]
              </td>

              <td class="entry" headers="d950606e139" data-title="Description">An array of exit rules that determine when to end the flow for a
                user in a segment-triggered flow. This field is available in API
                version 61.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">
                <a class="xref" href="#FlowExperiment">FlowExperiment</a>[]
              </td>

              <td class="entry" headers="d950606e139" data-title="Description">An array of experiments. This field is available in API version
                61.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">
                <a class="xref" href="#FlowFormula">FlowFormula</a>[]
              </td>

              <td class="entry" headers="d950606e139" data-title="Description">An array of formulas.</td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">
                <a class="xref" href="#FlowNodeGroup">FlowNodeGroup</a>[]
              </td>

              <td class="entry" headers="d950606e139" data-title="Description">An
                array of group
                nodes.
                Available in API version 68.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e133" data-title="Field Name"><span class="keyword parmname" id="field_fullName_flow_name"><a name="field_fullName_flow_name"><!-- --></a>fullName</span></td>

              <td class="entry" headers="d950606e136" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e139" data-title="Description">Required. Inherited from the Metadata component. Name of the file
                in Metadata API. <p class="p" id="flow_fullname_syntax"><a name="flow_fullname_syntax"><!-- --></a>A unique name for the
                  flow that contains only underscores and alphanumeric characters.
                  The name must be unique across the org, begin with a letter, not
                  include spaces, not end with an underscore, and not contain two
                  consecutive underscores.</p>
                <p class="p">To deploy or retrieve a version,
                  you can specify the version number. For example, <samp class="codeph nolang">sampleFlow-3</samp> specifies version
                  3 of the flow whose unique name is sampleFlow. If you don’t
                  specify a version number, the flow is the latest
                  version.</p>
                <p class="p">In API version 43.0 and earlier, this field
                  included the version number. In API version 44 and later, this
                  field no longer includes the version number.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e133" data-title="Field Name"><span class="keyword parmname" id="interviewLabel"><a name="interviewLabel"><!-- --></a>interviewLabel</span></td>

              <td class="entry" headers="d950606e136" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e139" data-title="Description">
                <span class="ph" id="interviewLabel_desc"><a name="interviewLabel_desc"><!-- --></a>Label for the interview. This label
                  helps users and administrators differentiate interviews from the
                  same flow.</span>
                <p class="p" id="interviewLabel_desc2"><a name="interviewLabel_desc2"><!-- --></a>In the user
                  interface, this label appears in the Paused Flow Interviews
                  component on the user’s Home tab and in the list of paused flow
                  interviews in Setup.</p>
              </td>

            </tr>

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

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

              <td class="entry" headers="d950606e139" data-title="Description">Override the default behavior and restrict access to enabled
                profiles or permission sets by setting this property to <samp class="codeph nolang">true</samp>. The default value is <samp class="codeph nolang">false</samp>. This field is available in
                API version 47.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e133" data-title="Field Name"><span class="keyword parmname" id="isTemplate"><a name="isTemplate"><!-- --></a>isTemplate</span></td>

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

              <td class="entry" headers="d950606e139" data-title="Description">
                <span class="ph" id="isTemplate_desc"><a name="isTemplate_desc"><!-- --></a>Indicates whether the process or flow is
                  a template. The default value is <samp class="codeph nolang">false</samp>. When installed from managed packages,
                  subscribers can’t view or clone processes or flows because of
                  intellectual property (IP) protection. But when those processes
                  and flows are templates, subscribers can open them in a builder,
                  clone them, and customize the clones.</span> This field is
                available in API version 45.0 and later.
              </td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e139" data-title="Description">Required. Label for the flow.</td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">
                <a class="xref" href="#FlowLoop">FlowLoop</a>[]
              </td>

              <td class="entry" headers="d950606e139" data-title="Description">An array of nodes for iterating through collections. This field
                is available in API version 30.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e139" data-title="Description">The name of the workflow rule that the flow was migrated from.
                This field is available in API version 54.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">
                <a class="xref" href="#subtype_FlowOrchestratedStage">FlowOrchestratedStage</a>[]
              </td>

              <td class="entry" headers="d950606e139" data-title="Description">An array of stage nodes in an orchestration. This field is
                available in API version 53.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">
                <a class="xref" href="#FlowMetadataValue">FlowMetadataValue</a>[]
              </td>

              <td class="entry" headers="d950606e139" data-title="Description">Metadata values for the flow. <p class="p">This field is
                  available in API version 31.0 and later.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">FlowProcessType (enumeration of type string)</td>

              <td class="entry" headers="d950606e139" data-title="Description">
                <span class="ph" id="processType-desc"><a name="processType-desc"><!-- --></a>The type of the flow, as determined by the
                  active version, or the latest version, if there’s no active
                  version.</span>
                <span class="ph" id="processType-valid-intro"><a name="processType-valid-intro"><!-- --></a>Valid values are:</span><a name="processType-values"><!-- --></a>
                <ul class="ul bulletList" id="processType-values">
                  <li class="li">
                    <samp class="codeph nolang">ActionableEventManagementFlow</samp>—A flow that
                    triggers an actionable event orchestration process in the
                    background and automatically executes different types of
                    actions based on the event type. This value is available in
                    API version 62.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">ActionCadenceAutolaunchedFlow</samp>—A flow that’s
                    executed when a user completes a cadence step. This value is
                    available in API version 56.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">ActionCadenceStepFlow</samp>—A
                    screen flow used as a cadence step. This value is available
                    in API version 56.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">ActivityObjectMatchingFlow</samp>—A flow that
                    launches when Einstein Activity Capture detects and captures
                    a new activity, such as an email. This type of flow runs in
                    the background without user interaction. This value is
                    available with Sync Email as Salesforce Activity in API
                    version 64.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Appointments</samp>—A flow for
                    Lightning Scheduler. This value is available in API version
                    44.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">ApprovalWorkflow</samp>—An
                    orchestration that’s used for an approval process. This
                    value is available in API version 63.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang" id="processtype_autolaunched"><a name="processtype_autolaunched"><!-- --></a>AutoLaunchedFlow</samp>—A flow that doesn’t require
                    user interaction.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">CheckoutFlow</samp>—A flow
                    used in Lightning B2B Commerce to create a checkout in a
                    store. This value is available in API version 48.0 and
                    later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">ContactRequestFlow</samp>—A
                    flow that lets customers request to be contacted by customer
                    support. This flow is used to create contact request
                    records. This value is available in API version 45.0 and
                    later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">CustomerLifecycle</samp>—A
                    Salesforce Surveys flow that lets you associate survey
                    questions with different stages in customer lifecycles.
                    This value is available in API version 49.0 and later
                    and only when the Customer Lifecycle Designer license is
                    enabled.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">CustomEvent</samp>—A
                    process that is invoked when it receives a platform
                    event message. In the UI, it’s an event process. This
                    value is available in API version 41.0 and
                    later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">DataCaptureFlow</samp>— In the
                    UI, Data Capture flows configure the Form tab in the Field
                    Service mobile app. When the Data Capture flow is launched,
                    its Flow metadata is publicly available in JavaScript
                    format. This value is available in API version 62.0 and
                    later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">DcvrFrameworkDataCaptureFlow</samp>—A screen flow
                    that presents assessment questions from Discovery Framework.
                    Launches when invoked by a user on a mobile device. This
                    type of flow collects or displays information, requires user
                    interaction, and works offline or online. This value is
                    available in API version 62.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">EvaluationFlow</samp>—A flow
                    for evaluating custom entry and exit conditions in an
                    orchestration. Uses the <samp class="codeph nolang">isOrchestrationConditionMet</samp> output variable
                    and discards values from any other output variables. This
                    value is available in API version 54.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">FieldServiceMobile</samp>—A
                    flow for the Field Service mobile app. This value is
                    available in API version 39.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">FieldServiceWeb</samp>—A flow
                    for embedded Appointment Booking. Its UI label is Field
                    Service Embedded Flow. This value is available in API
                    version 41.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang" id="processtype_flow"><a name="processtype_flow"><!-- --></a>Flow</samp>—A flow that requires user interaction
                    because it contains one or more screens or local actions,
                    choices, or dynamic choices. In the UI and Salesforce Help,
                    it’s a screen flow. Screen flows can be launched from the
                    UI, such as with a flow action, Lightning page, or web
                    tab.
                  </li>

                  <li class="li"><span class="ph" id="enumprocesstype_fsclending"><a name="enumprocesstype_fsclending"><!-- --></a><samp class="codeph nolang" id="processtype_fsclending"><a name="processtype_fsclending"><!-- --></a>FSCLending</samp>—A flow for Financial Services
                      Cloud Mortgage. This value is available in API version
                      46.0 and later.</span></li>

                  <li class="li">
                    <samp class="codeph nolang">IdentityUserRegistrationFlow</samp>—A flow to
                    handle user registration and updates for single sign-on
                    with the authentication provider framework. Available in
                    API version 64.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">IndicatorResultFlow</samp>—A
                    flow for Outcome Management that calculates and creates
                    indicator results for a selected indicator performance
                    period. This value is available with the Outcome Management
                    license in API version 60.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">IndividualObjectLinkingFlow</samp>—A flow that
                    associates individuals with interactions such as voice
                    calls, messaging sessions, or case-related emails. This
                    value is available in API version 58.0 and
                    later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">InvocableProcess</samp>—A
                    process that another process or the Invocable Actions
                    resource in REST API invokes. This value is available in
                    API version 38.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Journey</samp>—An
                    audience-driven flow for Marketing Cloud. This value is
                    available in API version 57.0 and later.
                  </li>

                  <li class="li"><span class="ph" id="loginflow"><a name="loginflow"><!-- --></a><samp class="codeph nolang">LoginFlow</samp>—A flow for login. This value is
                      available in API version 51.0 and later.</span></li>

                  <li class="li">
                    <samp class="codeph nolang">LoyaltyManagementFlow</samp>—A flow for the
                    Loyalty Management app that’s invokable by loyalty
                    program processes. This value is available in API
                    version 54.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Orchestrator</samp>—An
                    orchestration that organizes flows into groups of steps
                    contained in a series of stages. This value is available in
                    API version 53.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">PromptFlow</samp>—A flow for
                    Prompt Builder. Pass data between Prompt Builder and the
                    flow. This value is available in API version 60.0 and
                    later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">RecommendationStrategy</samp>—Build recommendations for
                    your users. A recommendation launches its assigned flow.
                    This value is available in API version 54.0 and later. See
                    <a class="xref" href="https://help.salesforce.com/s/articleView?id=platform.nba_building_flow_builder_strategy.htm&amp;type=5&amp;language=en_US" target="_blank" title="HTML (New Window)">Flow Builder
                      Strategies</a>.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">RoutingFlow</samp>—A flow
                    for Salesforce Omni-Channel routing and other business
                    logic. This value is available in API version 52.0 and
                    later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Survey</samp>—A flow for
                    Salesforce Surveys. From the UI, this type of flow is
                    created in Survey Builder. This value is available in
                    API version 42.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">SurveyEnrich</samp>—A
                    Salesforce Surveys flow that uses the Survey Data
                    Mapper. From the UI, this type of flow is created in the
                    Survey Builder and requires an associated survey flow
                    type. This value is available in API version 49.0 or
                    later and only when the Customer Lifecycle Designer
                    license is enabled.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Workflow</samp>—A process that
                    is invoked when a record is created or edited. In the UI and
                    Salesforce Help, it’s a record change process.
                  </li>

                </ul>
                <p class="p" id="processTypes_change"><a name="processTypes_change"><!-- --></a>Across flow versions, you can
                  change the type only from <samp class="codeph nolang">Flow</samp> to <samp class="codeph nolang">AutoLaunchedFlow</samp> or vice versa. Before you change
                  the flow type, make sure that the flow contains only the
                  elements, resources, and functionality that the new flow type
                  supports.</p>
                <p class="p">These values are reserved for future or
                  Salesforce internal use.</p>
                <a name="processTypes_futureUse"><!-- --></a>
                <ul class="ul bulletList" id="processTypes_futureUse">
                  <li class="li"><samp class="codeph nolang">ActionPlan</samp></li>

                  <li class="li"><samp class="codeph nolang">AppProcess</samp></li>

                  <li class="li"><samp class="codeph nolang">ApprovalWorkflow</samp></li>

                  <li class="li"><samp class="codeph nolang">CartAsyncFlow</samp></li>

                  <li class="li"><samp class="codeph nolang">DigitalForm</samp></li>

                  <li class="li"><samp class="codeph nolang">JourneyBuilderIntegration</samp></li>

                  <li class="li"><samp class="codeph nolang" id="flow_process_loginflow"><a name="flow_process_loginflow"><!-- --></a>LoginFlow</samp></li>

                  <li class="li"><samp class="codeph nolang">ManagedContentFlow</samp></li>

                  <li class="li"><samp class="codeph nolang">OrchestrationFlow</samp></li>

                  <li class="li"><samp class="codeph nolang">SalesEntryExperienceFlow</samp></li>

                  <li class="li"><samp class="codeph nolang">TransactionSecurityFlow</samp></li>

                  <li class="li"><samp class="codeph nolang">UserProvisioningFlow</samp></li>

                </ul>
                <p class="p">This
                  field is available in API version 31.0 and later.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">
                <a class="xref" href="#FlowRecordCreate">FlowRecordCreate</a>[]
              </td>

              <td class="entry" headers="d950606e139" data-title="Description">An array of nodes for creating records in the database.</td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">
                <a class="xref" href="#FlowRecordDelete">FlowRecordDelete</a>[]
              </td>

              <td class="entry" headers="d950606e139" data-title="Description">An array of nodes for deleting records in the database.</td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">
                <a class="xref" href="#FlowRecordLookup">FlowRecordLookup</a>[]
              </td>

              <td class="entry" headers="d950606e139" data-title="Description">An array of nodes for looking up records in the database.</td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">
                <a class="xref" href="#FlowRecordRollback">FlowRecordRollback</a>[]
              </td>

              <td class="entry" headers="d950606e139" data-title="Description">An array of nodes for rolling back transactions in the screen
                flow. This field is available in API version 52.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">
                <a class="xref" href="#FlowRecordUpdate">FlowRecordUpdate</a>[]
              </td>

              <td class="entry" headers="d950606e139" data-title="Description">An array of nodes for updating records in the database.</td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">FlowRunInMode (enumeration of type string)</td>

              <td class="entry" headers="d950606e139" data-title="Description">The context that the flow runs in. Valid values are:<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">DefaultMode</samp>—How the
                    flow is launched determines whether the flow runs in user
                    context or in system context. In the UI, this value appears
                    as <strong class="ph uicontrol">User or System Context—Depends on How Flow is
                      Launched</strong>.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">SystemModeWithSharing</samp>—The flow respects org-wide
                    default settings, role hierarchies, sharing rules, manual
                    sharing, teams, and territories. The flow doesn’t respect
                    object permissions, field-level access, or other permissions
                    of the running user. In the UI, this value appears as
                    <strong class="ph uicontrol">System Context with Sharing—Enforces
                      Record-Level Access</strong>.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">SystemModeWithoutSharing—</samp>The flow can access
                    all data. In the UI, this value appears as <strong class="ph uicontrol">System
                      Context without Sharing—Access All Data</strong>.
                    This value is available in API version 49.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">UserMode</samp>—The flow runs
                    with the user's security context explicitly enforced,
                    without inheriting sharing settings from the calling
                    context. In the UI, this value appears as <strong class="ph uicontrol">User
                      Context—Enforces User Permissions</strong>. This
                    value is available in API version 68.0 and later.
                  </li>

                </ul>
                <p class="p">This field is available in API version 48.0 and
                  later.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">
                <a class="xref" href="#FlowScreen">FlowScreen</a>[]
              </td>

              <td class="entry" headers="d950606e139" data-title="Description">An array of screen nodes.</td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">string</td>

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

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">
                <a class="xref" href="#FlowStage">FlowStage</a>[]
              </td>

              <td class="entry" headers="d950606e139" data-title="Description">An array of stage resources that you can use throughout the flow.
                This field is available in API version 42.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">
                <a class="xref" href="#FlowStart">FlowStart</a>[]
              </td>

              <td class="entry" headers="d950606e139" data-title="Description">The flow’s Start element, which specifies how and when the flow
                starts. This field is available in API version 47.0 and
                later.</td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e139" data-title="Description">Specifies which node or element is the starting point in the
                flow.<p class="p">This field isn’t used in flows created or saved in Flow
                  Builder in Winter ’20 and later. Those flows use the
                  <span class="keyword parmname">start</span> field instead to specify how the
                  flow starts.
                </p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">FlowVersionStatus (enumeration of type string)</td>

              <td class="entry" headers="d950606e139" data-title="Description">The activation status of the flow. Valid values are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">Active</samp></li>

                  <li class="li">
                    <samp class="codeph nolang">Draft</samp>—In the UI,
                    this status appears as
                    <samp class="ph systemoutput">Inactive</samp>.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Obsolete</samp>—In the UI,
                    this status appears as
                    <samp class="ph systemoutput">Inactive</samp>.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">InvalidDraft</samp>—In the
                    UI, this status appears as
                    <samp class="ph systemoutput">Draft</samp>.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">UnderReview</samp>—In the
                    UI, this status appears as <samp class="ph systemoutput">Under
                      Review</samp>.
                  </li>

                </ul>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">
                <a class="xref" href="#FlowStep">FlowStep</a>[]
              </td>

              <td class="entry" headers="d950606e139" data-title="Description">An array of step nodes.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e133" data-title="Field Name"><span class="keyword parmname" id="field_subflows_name"><a name="field_subflows_name"><!-- --></a>subflows</span></td>

              <td class="entry" headers="d950606e136" data-title="Field Type">
                <a class="xref" href="#FlowSubflow">FlowSubflow</a>[]
              </td>

              <td class="entry" headers="d950606e139" data-title="Description">
                <span class="ph" id="field_subflows_desc"><a name="field_subflows_desc"><!-- --></a>An array of subflows.</span> This
                field is available in API version 25.0 and later.
              </td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">
                <a class="xref" href="#FlowTextTemplate">FlowTextTemplate</a>[]
              </td>

              <td class="entry" headers="d950606e139" data-title="Description">An array of text templates.</td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e139" data-title="Description">The ID that defines the time zone in which the flow runs. This
                field is available in API version 56.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">
                <a class="xref" href="#FlowTransform">FlowTransform</a>[]
              </td>

              <td class="entry" headers="d950606e139" data-title="Description">An array of data transformations. This field is available in API
                version 59.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">int</td>

              <td class="entry" headers="d950606e139" data-title="Description">The run order of a record-triggered flow, from 1 to 2,000. See
                <a class="xref" href="https://help.salesforce.com/s/articleView?id=flow_concepts_trigger_guidelines.htm&amp;type=5&amp;language=en_US" target="_blank" title="HTML (New Window)">Guidelines for Defining the Run Order of
                  Record-Triggered Flows for an Object</a> in Salesforce Help.
                This field is available in API version 54.0 and later.
              </td>

            </tr>

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

              <td class="entry" headers="d950606e136" data-title="Field Type">
                <a class="xref" href="#FlowVariable">FlowVariable</a>[]
              </td>

              <td class="entry" headers="d950606e139" data-title="Description">An array of variable definitions.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e133" data-title="Field Name"><span class="keyword parmname" id="waits-name"><a name="waits-name"><!-- --></a>waits</span></td>

              <td class="entry" headers="d950606e136" data-title="Field Type">
                <a class="xref" href="#FlowWait">FlowWait</a>[]
              </td>

              <td class="entry" headers="d950606e139" data-title="Description">
                <span class="ph" id="waits-desc"><a name="waits-desc"><!-- --></a>An array of wait nodes.</span> This field is
                available in API version 32.0 and later.
              </td>

            </tr>

          </tbody>

        </table>

## FlowActionCall

Defines a call to an action from the flow. It extends [FlowNode](#FlowNode).

This metadata type is available in API version 31.0 and later.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e1344" data-title="Field Type">
                <a class="xref" href="#FlowStep">ActionCallPath</a>[]
              </td>

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

            </tr>

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

              <td class="entry" headers="d950606e1344" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e1347" data-title="Description">Required. Name for the action. Must be unique across actions with
                the same <span class="keyword parmname">actionType</span>.</td>

            </tr>

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

              <td class="entry" headers="d950606e1344" data-title="Field Type">
                <span class="ph" id="InvocableActionType_desc"><a name="InvocableActionType_desc"><!-- --></a>InvocableActionType</span>
                (enumeration of type string)
              </td>

              <td class="entry" headers="d950606e1347" data-title="Description">Required. See <a class="xref" href="#InvocableActionType">InvocableActionType</a>.</td>

            </tr>

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

              <td class="entry" headers="d950606e1344" data-title="Field Type"><a class="xref" href="#FlowConnector">FlowConnector</a></td>

              <td class="entry" headers="d950606e1347" data-title="Description">Specifies which node to execute after this action call.</td>

            </tr>

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

              <td class="entry" headers="d950606e1344" data-title="Field Type">
                <a class="xref" href="#FlowDataTypeMapping">FlowDataTypeMapping</a>[]
              </td>

              <td class="entry" headers="d950606e1347" data-title="Description">
                <span class="ph" id="datatypemappings_desc"><a name="datatypemappings_desc"><!-- --></a>An array of data type mappings for
                  input and output values that have the generic sObject data
                  type.</span> This field is available in API version 48.0 and
                later.
              </td>

            </tr>

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

              <td class="entry" headers="d950606e1344" data-title="Field Type">string</td>

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

            </tr>

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

              <td class="entry" headers="d950606e1344" data-title="Field Type"><a class="xref" href="#FlowConnector">FlowConnector</a></td>

              <td class="entry" headers="d950606e1347" data-title="Description">Specifies which node to execute if the action call results in an
                error.</td>

            </tr>

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

              <td class="entry" headers="d950606e1344" data-title="Field Type">
                <span class="ph" id="FlowTransactionModel_desc"><a name="FlowTransactionModel_desc"><!-- --></a>FlowTransactionModel</span>
                (enumeration of type string)
              </td>

              <td class="entry" headers="d950606e1347" data-title="Description">Required. Specifies the transactional model for flows that
                execute invocable actions. Valid values are: <ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">Automatic</samp>— Creates
                    a transaction if the invocable action supports it and
                    there’s pending DML.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">CurrentTransaction</samp>—
                    Keeps the invocable action running in the same
                    transaction.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">NewTransaction</samp>—
                    Creates a transaction before the invocable action is
                    executed.
                  </li>

                </ul>
                This field is available in API version 51.0 and later.
              </td>

            </tr>

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

              <td class="entry" headers="d950606e1344" data-title="Field Type">
                <a class="xref" href="#FlowActionCallInputParameter">FlowActionCallInputParameter</a>[]
              </td>

              <td class="entry" headers="d950606e1347" data-title="Description">An array of input parameters from the flow to the action.</td>

            </tr>

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

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

              <td class="entry" headers="d950606e1347" data-title="Description">Specifies whether to pause the flow until the action is
                completed. This field is available in API version 61.0 and
                later.</td>

            </tr>

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

              <td class="entry" headers="d950606e1344" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e1347" data-title="Description">Specifies the name of the versioned action. Supported only when
                nameSegment is specified. This field is available in API version
                58.0 to 61.0. This field is deprecated in API version 62.0 and
                later.</td>

            </tr>

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

              <td class="entry" headers="d950606e1344" data-title="Field Type">int</td>

              <td class="entry" headers="d950606e1347" data-title="Description">Specify the number of months, days, hours, or minutes to pause
                the flow while it waits for the action to be completed. This field
                is available in API version 61.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e1344" data-title="Field Type">FlowScheduledPathOffsetUnit (enumeration of type string)</td>

              <td class="entry" headers="d950606e1347" data-title="Description">Specify the time unit used to wait when the async action
                executes. Possible values are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">Months</samp></li>

                  <li class="li"><samp class="codeph nolang">Days</samp></li>

                  <li class="li"><samp class="codeph nolang">Hours</samp></li>

                  <li class="li"><samp class="codeph nolang">Minutes</samp></li>

                </ul>
                This field is available in API version 61.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e1344" data-title="Field Type">
                <a class="xref" href="#FlowActionCallOutputParameter">FlowActionCallOutputParameter</a>[]
              </td>

              <td class="entry" headers="d950606e1347" data-title="Description">An array of output parameters from the action to the
                flow.</td>

            </tr>

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

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

              <td class="entry" headers="d950606e1347" data-title="Description">Indicates whether the action’s output parameters are
                automatically available in the flow without creating any variables.
                When the value is <samp class="codeph nolang">true</samp>, you can
                reference an output parameter by specifying the API name of the
                Action element in the flow. The default value is <samp class="codeph nolang">false</samp>. When the value is <samp class="codeph nolang">false</samp>, create variables manually to
                store output values from the action. <p class="p">This field is available in
                  API version 48.0 and later.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e1344" data-title="Field Type"><a class="xref" href="#FlowConnector">FlowConnector</a></td>

              <td class="entry" headers="d950606e1347" data-title="Description">Specifies which node to execute if an async action execution is
                timed out. This field is available in API version 62.0 and
                later.</td>

            </tr>

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

              <td class="entry" headers="d950606e1344" data-title="Field Type">FlowActionCallTimeoutPath (enumeration of type string)</td>

              <td class="entry" headers="d950606e1347" data-title="Description">Include or exclude a timeout path for an asynchronous action in a
                flow. Valid values are:<a name="ul_mmb_s3j_g3c"><!-- --></a>
                <ul class="ul bulletList" id="ul_mmb_s3j_g3c">
                  <li class="li"><samp class="codeph nolang">DisableTimeoutPath</samp></li>

                  <li class="li"><samp class="codeph nolang">EnableTimeoutPath</samp></li>

                </ul>
                This field is available in API version 66.0 and later.
              </td>

            </tr>

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

              <td class="entry" headers="d950606e1344" data-title="Field Type">int</td>

              <td class="entry" headers="d950606e1347" data-title="Description">Specifies the version of the versioned action. By default, the
                value is 1. Supported only when versionSegment is specified. This
                field is available in API version 58.0 to 61.0. This field is
                deprecated in API version 62.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e1344" data-title="Field Type">string</td>

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

            </tr>

          </tbody>

        </table>

## InvocableActionType

The valid values in the required actionType on [FlowActionCall](#FlowActionCall).

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


          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d950606e1731">Valid Value</th>

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

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">activateSessionPermSet</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Activates a session-based permission set for the running
                user.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">activationSchema</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Gets the activation schema for the specified activation. This
                value is available in API version 64.0 and later. </td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">addMessageToChat</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Adds a message to an existing Salesforce Anywhere chat. This
                value is available in API version 49.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">addMessageToQuipChat</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Adds a Quip message to an existing chat room. This value is
                available in API version 46.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">addMessageToQuipDocument</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Adds a Quip message to an existing Quip document, spreadsheet, or
                slide. This value is available in API version 46.0 and
                later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">addQuipDocumentToFolder</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Adds an existing Quip document, spreadsheet, or slide to an
                existing folder. This value is available in API version 46.0 and
                later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">addUsersToChat</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Adds users to an existing Salesforce Anywhere chat. This value is
                available in API version 49.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">addUsersToQuipDocument</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Adds users, identified by their email addresses, to an existing
                Quip document, spreadsheet, or slide. This value is available in API
                version 46.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">addUsersToQuipChat</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Adds users, identified by their email addresses, to an existing
                Quip chat room. This value is available in API version 46.0 and
                later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">adjustPartnerInvShipAndDebit</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Adjusts the point of sales record during ship and debit claim
                pocessing to a different partner unsold inventory. Available in API
                version 64.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">adjustPartnerUnsoldInventory</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Adjusts the partner unsold inventory quantities and prices.
                Available in API version 64.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">answerQuestionsWithSalesforceDocumentation</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Searches Salesforce documentation to provide answer to questions,
                as well as links to relevant articles.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">analyticsSendDigestAsSlackMsg</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Sends an Analytics digest to a Slack channel. This value is
                available in API version 64.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">attachQuipDocumentToRecord</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Attaches a Quip document, spreadsheet, or slide to a Salesforce
                record. This value is available in API version 46.0 and
                later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">apex</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Invokes an Apex method that has the @invocableMethod
                annotation.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">archiveKnowledgeArticles</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Archives a list of published Knowledge articles. This value is
                available in API version 45.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">assignApptForServiceResourceForFieldService</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Assigns the service appointment selected by the dispatcher to a
                service resource, in the gap identified in the service resource’s
                schedule on a specific date. This value is available in API version
                63.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">assignKnowledgeArticles</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Mass assigns knowledge articles from article list views. This
                value is available in API version 44.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">automateRefund</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Initiate a refund to the customer. This value is available in API
                version 60.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">buildIdentityVerification</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Calls an action that builds the identity verification context
                using the identity verification process definition specified in
                IdVerfProcessDefinition and information passed into the flow. Stores
                the result in the VerificationContext variable. This value is
                available in API version 55.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">cdpGetDataGraph</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Query a data graph in Data Cloud by data graph API name, data
                space name, and record ID. This resource is available in API version
                61.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">cdpGetDataGraphByLookup</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Get data of a data graph in Data Cloud by data graph API name,
                data space name, and lookup key. This resource is available in API
                version 63.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">cdpGetDataGraphMetadata</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Get metadata of a data graph in Data Cloud by data graph API name
                and data space name. If the data space name isn't provided, the API
                uses the default value. This resource is available in API version
                64.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">cdpPublishCalculatedInsight</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Run the calculated insight in Data Cloud. Available in API
                version 60.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">cdpPublishSegment</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Publish a segment in Data Cloud. Available in API version 60.0
                and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">cdpRefreshDataStream</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Refresh a data stream in Data Cloud. Available in API version
                60.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">cdpRunIdentityResolution</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Runs a Data Cloud identity resolution process. This value is
                available in API version 57.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">cdpValidateSegmentMember</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Validate a segment in Data Cloud. Available in API version 60.0
                and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">calcPriceProtectPayoutAmt</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Calculates the payout after a price protection adjustment or
                execution is made. This value is available in API version 63.0 and
                later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">chat</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Creates a Salesforce Anywhere chat. This value is available in
                API version 49.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">chatterPost</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Posts to Chatter.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">choosePricebook</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Selects a price book.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">component</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Invokes the Aura component that implements the
                lightning:availableForFlowActions interface and that is referenced
                by actionName. This value is available in API version 43.0 and
                later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">computeConsumption</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Computes usage for all consumption cards. This value is available
                in API version 63.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">contactRequestAction</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Creates a contact request record. This value is available in API
                version 45.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">contentWorkspaceEnableFolders</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Enables folders in a library.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">convertAttributesToJson</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Converts the given attributes into a JSON string format. This
                value is available in API version 64.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">copyQuipDocument</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Creates a copy of an existing Quip document, spreadsheet, or
                slide, and gives it a new title. This value is available in API
                version 46.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">createConsumptionAlert</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Sends a notification if usage for a consumption card crosses a
                specified threshold. This value is available in API version 63.0 and
                later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">createDraftFromOnlineKnowledgeArticle</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Creates a draft from a published knowledge article. This value is
                available in API version 45.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">createFieldGnrnPromptTmplResp</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Creates a field generation prompt template response. This value
                is available in API version 62.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">createInvoiceFromFulfillmentOrder</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Creates an invoice from a purchase order. Available to B2B
                Commerce. This value is available in API version 49.0 and
                later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">createLicenseUtilizationAlert</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Sends a notification to specified users when license utilization
                reaches or exceeds a specified threshold. This object is available
                in API version 67.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">createProductLimitAlert</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Creates alerts when product limit utilization reaches or exceeds
                configured threshold percentages. This action evaluates current
                utilization against specified thresholds and creates Utilization
                Alert (TenantConsumptionAlert) records for crossed thresholds. This
                value is available in API version 67.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">createQuipChat</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Creates a Quip chat room. This value is available in API version
                46.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">createQuipDocument</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Creates a Quip document, spreadsheet, or slide. This value is
                available in API version 46.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">createQuipFolder</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Creates a Quip folder. This value is available in API version
                46.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">customNotificationAction</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Sends a custom notification. This value is available in API
                version 46.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">dataCloudIngestionApi</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Send data to Data Cloud using Ingestion API. This value is
                available in API version 61.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">deactivateSessionPermSet</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Deactivates a session-based permission set for the running
                user.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">deleteKnowledgeArticle</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Deletes a draft version (translation or master-language) or an
                entire archived knowledge article. This value is available in API
                version 46.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">dynamicSendSurveyInvitation</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Sends customized notifications to users about important events or
                updates to the records that they're working on. This value is
                available in API version 51.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">editQuipDocument</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Modifies the contents of an existing Quip document, spreadsheet,
                or slide. This value is available in API version 46.0 and
                later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">einsteinDecidePath</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Determines a user's level of email engagement using Einstein
                Engagement Frequency or Einstein Engagment Scoring, and route users
                through the flow based on that engagement. This value is available
                in API version 64.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">emailAlert</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Sends an email by referencing a workflow email alert</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">emailSimple</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Sends an email by using flow resources. This action isn't
                available for flows with a processType of Workflow.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">exploreConversation</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Retrieves insights from a conversation. This value is available
                in API version 61.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">externalConnector</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Executes a process or method exposed via a connector to an
                external system. This value is available in API version 63.0 and
                later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">externalService</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Invokes an External Service operation that makes an HTTP request
                to an external system made available by an External Service schema
                registered through Setup. This value is available in API version
                46.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">findMatchingIndividuals</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Finds contact, lead, or employee records that match a search
                term.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">findPastCollaborators</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Leverages insights from Einstein Activity Capture to identify
                individuals with past collaborative ties, aiding in securing
                introductions to relevant parties in ongoing or future deals. This
                value is available in API version 63.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">flow</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Invokes an autolaunched flow. This action type isn't available
                for flows with a processType of Flow or AutolaunchedFlow. To invoke
                an autolaunched flow from one of those types, use FlowSubflow. This
                value is available in API version 32.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">generateAiAgentResponse</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Generates a response from the AI agent based on input and
                instructions to support intelligent, conversational experiences.
                This value is available in API version 63.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">generateAnalyticsAssetsContent</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Generates Analytics assets content. This value is available in
                API version 64.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">generateVerificationCode</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Sends a verification code to the customer's email to verify their
                identity. This value is available in API version 63.0 and
                later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">getActivitySummary</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Gets a summary of activity data associated with a specified
                record, including emails, calls, and meetings. This value is
                available in API version 60.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">getArticleSmartLinkUrl</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Gets the Smart Link URL of the Salesforce Knowledge article.
                Smart links go to the right article and version, even when a new
                version is published or the URL name changes. This value is
                available in API version 54.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">getNrbyScvTerritories</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Queries for active service territories within a specified radius
                of given geographic coordinates using database-level DISTANCE
                filtering. Available in API version 68.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">getPoliciesByObject</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Gets Policy Center policies that contain a given object and
                returns a list of matching policy names.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">getPoliciesByPolicyType</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Gets Policy Center policies of the type specified in the user
                input, such as Data Backup or Data Archive.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">getPolicyDetails</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Gets details about a policy in Policy Center, such as the policy
                type and the objects the policy targets.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">getProductPricing</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Gets the pricing information of a product, including relevant
                historical sale price data from previous won deals involving the
                same product. This value is available in API version 63.0 and
                later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">getResourcesForMnlScheduling</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Recommends resources to use to manually schedule the start of a
                care visit or recurring visits. You must enable Home Health to use
                this action. This value is available in API version 61.0 and
                later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">getSalesAgreementDetails</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Retrieves a comprehensive collection of all required data (spread
                across multiple entities like SalesAgreement, Product2,
                SalesAgreementProduct, etc.) for a given Sales Agreement. Available
                in API version 61.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">getSearchConfigurationMetadata</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Retrieves all metadata details and search configurations for a
                given searchable object. Available in API version 64.0 and
                later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">getTranscriptForConversation</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Gets the transcript for a specified conversation record such as
                voice call, messaging session, or chat transcript. This value is
                available in API version 64.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">getVerificationData</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Calls an invocable action to get verification data for
                selectedPrimaryVerificationContext and adds the results to
                selectedPrimaryVerificationContext. This value is available in API
                version 54.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">goToCadenceStep</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Jumps to the specified step in the Sales cadence. This value is
                available in API version 57.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">groupClaimsByFields</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Groups open claims by configurable fields and returns counts per
                group. Available in API version 68.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">ingestManualAgentScores</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Ingests external agent evaluation scores (annotations) into the
                Agentforce scoring pipeline. This value is available in API version
                66.0 and later</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">limitRepetitions</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Limit the number of times the same recommendation or offer
                appears on the same record or for the same user during a time period
                in a recommendation strategy flow. This value is available in API
                version 55.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">lockRecord</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Lock or unlock a workflow-enabled or approval-enabled record for
                editing during an approval and specify who can edit the record while
                it's locked.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">lwcComponent</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Triggers the LWC component that targets the lightning__FlowAction
                target in the XML configuration file and that's referenced by
                actionName. This value is available in API version 63.0 and
                later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">massUpdateAccountForecast</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Bulk updates forecasts asynchronously. This value is available in
                API version 48.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">massUpdateSalesAgreement</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Bulk updates sales agreements asynchronously. This value is
                available in API version 48.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">processAccessDelegationRequest</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Processes the specified access delegation request. Available in
                API version 68.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">processDataUsingGenAi</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Using Einstein generative AI, performs NLP to summarize text,
                extract key phrases, analyze sentiment, and unlock valuable
                insights. This value is available in API version 61.0 and
                later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">publishActionableOrchSrcEvent</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Publishes events triggered by an external system. This value is
                available in API version 62.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">publishKnowledgeArticles</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Mass publishes knowledge articles from article list views. This
                value is available in API version 44.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">quickAction</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Invokes a Quick Action.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">recalculateHouseholdNames</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Recalculates the names and greetings of the specified households
                based on the active household naming configurations. Available in API
                version 68.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">replenishInventoryUsingPolicy</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Executes inventory policy to identify stock shortages, determine
                the optimal source location, and automate replenishment. Available
                in API version 65.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">rescheduleRecurringHomeVisits</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Reschedules all the home visits based on the recurrence pattern
                and scheduling policy provided. This value is available in API
                version 60.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">restoreKnowledgeArticleVersion</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Restores an archived version of a knowledge article. This value
                is available in API version 45.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">reviewBuyingCommittee</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">
                <p dir="ltr" class="p">Identifies and reviews key contacts associated with a
                  deal, their influence on that deal, and other deals that they’ve
                  impacted. This value is available in API version 63.0 and
                  later.</p>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">rpa</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Performs a set of actions in a defined scope outside the flow,
                such as operating a session or using an application on a on-premises
                computer via an RPA robot. This value is available in API version
                63.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">scheduleGroupVisits</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Create visiting records for patient home visits by bundling them
                into a group and scheduling either a single start-of-care visit or a
                series of recurring visits associated with the bundled records. This
                value is available in API version 60.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">scheduleSvcApptActnblEvntOrch</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Creates service appointments in response to actionable events by
                identifying work type and assigning service territories. This value
                is available in API version 63.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">sendAlert</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Sends Salesforce Anywhere alerts to users. This value is
                available in API version 49.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">sendNotification</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Sends an available notification type. This value is available in
                API version 54.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">sendSurveyInvitation</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Sends email survey invitations to leads, contacts, and users in
                your org based on an action, such as when a customer support case
                closes. This value is available in API version 47.0 and
                later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">pardotSlackCompletionActionNotification</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Sends a user a Slack notification when a prospect completes an
                activity in Account Engagement.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">performSurveySentimentAnalysis</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Perform survey sentiment analysis to create or update the AI
                Sentiment Result records. This value is available in API version
                55.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">skillsBasedRouting</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Creates a PendingServiceRouting record used for Omni-Channel
                skills-based routing. This value is available in version 44.0 and
                later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">slackArchiveChannel</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Archives a Slack channel in a Slack workspace. This value is
                available in API version 54.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">slackCheckUsersAreConnectedToSlack</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Indicates whether a collection of Salesforce users is connected
                to a given Slack app. This value is available in API version 54.0
                and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">slackCreateChannel</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Creates a Slack channel in a Slack workspace. This value is
                available in API version 54.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">slackGetConversationInfo</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Retrieves the name of a Slack channel or group direct message and
                finds out whether it's archived. This value is available in API
                version 54.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">slackInviteUsersToChannel</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Adds users who are connected to a given Slack app to a Slack
                channel or group direct message. This value is available in API
                version 54.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">slackPinMessage</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Pin or unpin a message in a Slack channel or group direct
                message. This value is available in API version 54.0 and
                later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">slackPostMessage</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Send a message to a Slack channel or group direct message. This
                value is available in API version 54.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">slackSendMessageToLaunchFlow</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Send a message to a Slack channel, direct message, or the
                Messages tab of a Slack app that includes a button that a recipient
                can use to launch a screen flow. This value is available in API
                version 55.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">slackUpdateMessage</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Edits a message that was previously sent to a Slack channel or
                group direct message. This value is available in API version 54.0
                and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">submitKnowledgeArticleForTranslation</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Submits a published or draft knowledge article for translation.
                This value is available in API version 46.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">submitOrderEnrollment</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Submits order enrollment information to the processing queue for
                tariff comparison calculations.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">submit</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Submits a record for approval.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">transformMfgProgramForecasts</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Transform an AI Natural Language Processing (NLP) result created
                by using Einstein Generative AI into an Apex Object record. This
                value is available in API version 61.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">transformNlpActionResult</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Transform an AI Natural Language Processing (NLP) result created
                by using Einstein Generative AI into an Apex Object record. This
                value is available in API version 61.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">triggerAgentBulkScoring</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Triggers Agentforce Scorer processing on specified inputs using
                scorer API names and entity IDs. This value is available in API
                version 66.0 and later</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">triggerJourney</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Send an individual to a specified journey. This value is
                available in API version 64.0 and later</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">triggerAgentBulkScoring</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Triggers Agentforce Scorer processing on specified inputs using
                scorer API names and entity IDs. This value is available in API
                version 66.0 and later</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e1731" data-title="Valid Value"><samp class="codeph nolang">verifyCustomerCode</samp></td>

              <td class="entry" headers="d950606e1734" data-title="Description">Verifies the code entered by the customer to complete identity
                verification. This value is available in API version 63.0 and
                later.</td>

            </tr>

          </tbody>

        </table>

These values are used in Omnichannel Inventory. If no version is specified, the value is available in API version 51.0 and later.

| Valid Value | Description |
| --- | --- |
| ociCreateReservation | Creates one or more inventory reservations at a location or location group. |
| ociFulfillReservation | Fulfills one or more inventory reservations at a location. |
| ociGetAvailability | Gets inventory availability data for one or more products at one or more inventory locations or location groups. |
| ociReleaseReservation | Releases one or more inventory reservations. |
| ociTransferReservation | Transfers one or more inventory reservations between locations or location groups. |

These values are used in the B2B Commerce Checkout Flow. If no version is specified, the value is available in API version 47.0 and later.

| Valid Value | Description |
| --- | --- |
| updateCheckoutSessionStateAction | Updates the checkout session next state for checkout flows. This value is available in API version 49.0 and later. |
| priceCart | Requests prices for all items in a cart during B2B Commerce checkout. This value is available in API version 47.0 and later. |
| checkoutSessionAction | Initiates or retrieves an existing Checkout Session for Checkout Flows. Available to B2B Commerce. This value is available in API version 49.0 and later. |
| cancelCartAsyncOperation | Cancels a WebCart's async operation. Available to B2B Commerce. This value is available in API version 49.0 and later. |
| calcCartPromotionsAction | Requests a full cart promotion calculation of all applicable line items in the Web Cart during B2B Commerce checkout. This value is available in API version 52.0 and later. |
| checkCartInventoryAction | Requests an inventory for all items in a Web Cart during B2B Commerce checkout. This value is available in API version 47.0 and later. |
| calcCartShipmentAction | Calculates the shipping cost for all items in a Web Cart during B2B Commerce checkout. This value is available in API version 47.0 and later. |
| cartToOrderAction | Creates a Salesforce Standard Order in draft mode. This value is available in API version 47.0 and later. |
| activateOrderAction | Activates a draft order, which creates an order summary. This value is available in API version 47.0 and later. |

These values are used in the B2B Commerce and D2C Commerce.

| Valid Value | Description |
| --- | --- |
| recordTaxReversal | Reverses the recorded tax transactions in an external system. This value is available in API version 62.0 and later. |
| recordTaxTransaction | Records tax transactions from an order summary to an external system. This value is available in API version 62.0 and later. |

These values are used in Data Cloud.

| Valid Value | Description |
| --- | --- |
| dataKitGetComponentAction | Gets the deployment status of data kit deployment jobs. This value is available in API version 64. |
| dataKitDeployComponentAction | Deploys data kit components in a target org. This value is available in API version 64. |

These values are used in Tableau Next.

| Valid Value | Description |
| --- | --- |
| analyticsSendDigestAsSlackMsg | Sends the generated Tableau Next asset content as a Slack message. This value is available in API version 64.0 and later. |
| generateAnalyticsAssetsContent | Creates the content of the email or slack body for a Tableau Next asset, which is used by other actions to send to the appropriate channels. This value is available in API version 64.0 and later. |

These values are used in Education Cloud.

| Valid Value | Description |
| --- | --- |
| getAcademicTermData | Gets the details of the academic term that the specified learner is enrolled in. This value is available in API version 65.0. |
| getBatchJobIds | Gets the identifiers of batch jobs. This value is available in API version 64. |
| getLearningProgramData | Gets the learning program data based on the learning program name. This value is available in API version 65.0. |
| getProgramTermApplTimelineData | Gets the program term application timeline data based on the academic term ID and learning program ID. This value is available in API version 65.0. |
| getRestrictionsAsgnToStudent | Gets the details of the restrictions (business process operations) assigned to a student. This value is available in API version 65.0. |

These values are used in the Commerce Checkout Flow. If no version is specified, the value is available in API version 55.0 and later.

| Valid Value | Description |
| --- | --- |
| addCartItem | Adds an item to a cart during Commerce checkout. |
| createCart | Creates a cart during Commerce checkout. |
| deleteCart | Deletes a cart during Commerce checkout. |
| b2cGetShippingMethods | Gets the available shipping methods for the default shipment of a B2C Commerce basket. This value is available in API version 68.0 and later. |
| b2cSetShippingAddress | Sets the shipping address on the default shipment of a B2C Commerce basket. This value is available in API version 68.0 and later. |
| b2cSetShippingMethod | Sets the shipping method on the default shipment of a B2C Commerce basket. This value is available in API version 68.0 and later. |
| b2cInitiatePayment | Validates that the basket is ready for checkout and initiates an Apple Pay payment request. This value is available in API version 68.0 and later. |
| b2cPreProcessPayment | Runs a pre-payment hook that lets Apex run pre-payment logic, such as creating a draft order, during B2C Commerce checkout. This value is available in API version 68.0 and later. |
| b2cPostProcessPayment | Runs a post-payment hook that lets Apex run post-payment logic, such as updating order state, during B2C Commerce checkout. This value is available in API version 68.0 and later. |

These values are used in Salesforce CMS Workflows and Approvals. If no version is specified, the value is available in API version 58.0 and later.

| Valid Value | Description |
| --- | --- |
| managedContentPublishVariant | Publishes a content variant associated with a flow. This value is available in API version 59.0 and later. |
| managedContentRoleStepInteractive | Assigns a content variant review to a CMS role. |
| managedContentUnpublishVariant | Unpublishes a published content variant associated with a flow. This value is available in API version 59.0 and later. |
| managedContentVariantSetLockStatus | Sets the locked status of a content variant. |
| managedContentVariantSetReadyStatus | Sets the ready for publication status of a content variant. |

These values are used in Order Management. If no version is specified, the value is available in API version 48.0 and later.

| Valid Value | Description |
| --- | --- |
| addOrderItemSummarySubmit | Adds order item summaries to an order summary. This value is available in API version 54.0 and later. |
| adjustOrderItemSummariesPreview | Previews the expected results of applying a price adjustment to order item summaries from an order summary without actually applying it. This value is available in API version 49.0 and later. |
| adjustOrderItemSummariesSubmit | Applies a price adjustment to order item summaries from an order summary. This value is available in API version 49.0 and later. |
| authorizePayment | Authorizes a card payment. This value is available in API version 55.0 and later. |
| cancelFulfillmentOrderItem | Removes items from a fulfillment order. |
| cancelOrderItemSummariesPreview | Previews the expected results of canceling order item summaries from an order summary without actually canceling them. |
| cancelOrderItemSummariesSubmit | Cancels order item summaries from an order summary. |
| confirmHeldFulfillmentOrderCapacity | Confirms held fulfillment order capacity. This value is available in API version 55.0 and later. |
| createCreditMemoOrderSummary | Creates a credit memo for an order summary. |
| createFulfillmentOrder | Creates one or more fulfillment orders and fulfillment order products for an order delivery group summary, which defines a recipient and delivery method. |
| createFulfillmentOrders | Creates fulfillment orders and fulfillment order products for multiple order delivery group summaries, each of which defines a recipient and delivery method. This value is available in API version 51.0 and later. |
| createInvoiceFromChangeOrders | Creates an invoice for one or more change orders. This value is available in API version 56.0 and later. |
| createInvoiceFromFulfillmentOrder | Creates an invoice for a fulfillment order. |
| createOrderPaymentSummary | Creates an order payment summary for an authorization or payments belonging to an order summary. |
| createOrderSummary | Creates an order summary for an order. |
| createReturnOrder | Creates a return order and return order items for an order. |
| ensureFundsOrderSummaryAsync | Triggers an asynchronous background process to ensure funds through a payment provider for an invoice belonging to an order summary. |
| ensureRefundsOrderSummaryAsync | Triggers an asynchronous background process to ensure refunds through a payment provider for an invoice belonging to an order summary. |
| getFulfillmentOrderCapacityValues | Gets fulfillment order capacity information. This value is available in API version 55.0 and later. |
| holdFulfillmentOrderCapacity | Holds fulfillment order capacity. This value is available in API version 55.0 and later. |
| orderRoutingFindRoutesWithFewestSplits | Evaluates ordered product quantities against available inventory to determine the smallest combination of locations that can fulfill the order. This value is available in API version 51.0 and later. |
| orderRoutingFindRoutesWithFewestSplitsUsingOCI | Evaluates ordered product quantities against available inventory at specified location groups and locations to determine the smallest combination of locations that can fulfill the order. This value is available in API version 54.0 and later. |
| orderRoutingRankByAverageDistance | Calculates the average distance from sets of inventory locations to an order recipient, and returns the sets sorted by that average distance. This value is available in API version 51.0 and later. |
| releaseHeldFulfillmentOrderCapacity | Releases held fulfillment order capacity. This value is available in API version 55.0 and later. |
| returnOrderItemSummariesPreview | Previews the expected results of returning order item summaries from an order summary without actually returning them. |
| returnOrderItemSummariesSubmit | Returns order item summaries from an order summary. |
| returnReturnOrderItems | Processes return order line items. |

These values are used in the Employee Service. If no version is specified, the value is available in API version 63.0 and later.

| Valid Value | Description |
| --- | --- |
| createServiceRequestCase | Creates a case or incident for the requested service. |
| getDirectDepositDetails | Gets the direct deposit details for the specified record ID. |
| getLeaveBalance | Gets the leave balance of a specific employee. |

These values are used in Rebate Management.

| Valid Value | Description |
| --- | --- |
| addRebateMemberList | Adds a list of members to a rebate program. This value is available in API version 51.0 and later. |
| calculateProjectedRebateAmount | Calculates the projected rebate amount for rebate types associated with a specified transaction ID. This value is available in API version 54.0 and later. |
| calculateRebateAmountAndUpsertPayout | Calculates the rebate amount and upserts the rebate payout for the specified aggregate record. This value is available in API version 51.0 and later. |
| getBenefitAndCalculateRebateAmount | Gets benefit details, and optionally calculates the rebate amount for the specified aggregate record. This value is available in API version 51.0 and later. |
| getEligibleProgramRebateTypes | Retrieves the eligible program rebate types for a mapped object. This value is available in API version 52.0 and later. |
| generateRebatePayoutPeriods | Generates payout periods for a rebate program based on the frequency specified in the program. This value is available in API version 51.0 and later. |
| processRebatesBatchCalculationJob | Processes a rebate batch calculation job from the Data Processing Engine. This value is available in API version 51.0 and later. |
| processProgramRebateTypeProducts | Insert or delete records in the Program Rebate Type Product object. This value is available in API version 53.0 and later. |
| rebatesProcessCSV | Processes an uploaded CSV file using Bulk API 2.0 and converts the file’s data into records in the target object. This value is available in API version 51.0 and later. |
| upsertCustomRebatePayout | Upserts the custom calculated rebate payout for the specified aggregate record. This value is available in API version 51.0 and later. |

These values are for Decision Table. If no version is specified, the value is available in API version 51.0 and later.

| Valid Value | Description |
| --- | --- |
| decisionTableAction | Runs an active decision table definition. |
| refreshDecisionTable | Refreshes the decision table cache. |

These values are used in Einstein generative AI features.

| Valid Value | Description |
| --- | --- |
| generatePromptResponse | Generates a response based on the large language model (LLM) response for the specified prompt template and inputs. This value is available in API version 60.0 and later. |
| transformQueryForCase | Generates a natural language query for retrieval based on the specified case details, language, and additional context. This value is available in API version 62.0 and later. |
| transformQueryForConversation | Generates a natural language query for retrieval based on the specified conversation text, language, and additional context. This value is available in API version 62.0 and later. |
| transformQueryForEmail | Generates a natural language query for retrieval based on the specified email details, language, and additional context. This value is available in API version 62.0 and later. |

These values are used in flows for Engagement.

| Valid Value | Description |
| --- | --- |
| createEngagementsDetailsRep | Creates a JSON representation. Use the details of Engagement Interaction, Messaging Session, and Voice Call records; the related Engagement Topic and Note records; and transcripts from the conversation to create a JSON representation. This value is available in API version 64.0 and later. |
| getConversationTranscripts | Gets the list of transcripts of the conversations between an agent and a customer. |
| getEngagements | Gets engagement interaction, messaging session, and voice call records associated with a specified account record. |
| getRecordDetails | Gets the details of specified records, including the name of the parent record. |

These values are used in Field Service. If no version is specified, the value is available in API version 52.0 and later.

| Valid Value | Description |
| --- | --- |
| addWorkPlans | Creates work plan and work step objects from the work plan library. |
| cancelWorkOrder | Cancels a work order. |
| completeWorkOrder | Completes a work order. |
| createWorkOrder | Creates a work order. |
| createWorkOrderLineItem | Creates a work order line item. |
| createWorkPlan | Creates a work plan. |
| createWorkStep | Creates a work step. |
| getWorkOrderDetails | Gets work order details. |
| getWorkPlanDetails | Gets work plan details. |
| getWorkStepDetails | Gets work step details. |
| updateWorkOrder | Updates a work order. |
| updateWorkOrderLineItem | Updates a work order line item. |
| updateWorkPlan | Updates a work plan. |
| updateWorkStep | Updates a work step. |
| addWorkSteps | Creates work step objects from the work plan library. |
| deleteWorkPlans | Deletes all the work plans and work steps associated with a work order or work order line item. |
| generateWorkPlans | Generates work plans based off rules defined in the work plan library. |

These values are used in Einstein Bots. If no version is specified, the value is available in API version 56.0 and later.

| Valid Value | Description |
| --- | --- |
| getDataCategoryDetails | Gets the labels and API names for a specified data category associated with the knowledge base. This value is available in API version 56.0 and later. |
| getDataCategoryGroups | Gets the labels and API names of the active data category groups associated with the Knowledge object that’s visible to the current user. |
| searchKnowledgeArticles | Searches for knowledge articles with specified search terms, language, data category group, and data category. |

This value is used for Einstein Initiate Language Processing Action.

| Valid Value | Description |
| --- | --- |
| initiateNaturalLangProcessing | Create a record for the AI natural language processing result and initiate text processing by using the service specified in the related record. This value is available in API version 60.0 and later. |

These values are used in Einstein Work summaries. If no version is specified, the value is available in API version 63.0 and later.

| Valid Value | Description |
| --- | --- |
| getCaseInfoToSummarize | Gets case field details like subject, description, comments, emails, and conversation transcripts for use with prompt templates in Prompt Studio. |
| getConvTrscpForRecord | Gets the conversation transcript associated with a VoiceCall, MessagingSession, or LiveChatTranscript record. |

This value is used in Media Cloud.

| Valid Value | Description |
| --- | --- |
| vlocity\_cmt\_\_MediaIntegrationProcedureInvocable | Call an Integration Procedure from a Salesforce Flow to process media content. This value is available in API version 60.0 and later. |

These values are used in the Get Forecast Guidance flow.

| Valid Value | Description |
| --- | --- |
| getForecastContext | Gets the forecast context for a specified user. This value is available in API version 61.0 and later. |
| getForecastOpportunities | Gets forecast opportunities for a user that matches the specified criteria. This value is available in API version 61.0 and later. |

This value is used in the Get Opportunity Grounding Data flow.

| Valid Value | Description |
| --- | --- |
| getOpportunityContentNote | Gets the content note data for a specified opportunity record. This value is available in API version 64.0 and later. |

This value is used in the Process Field Update Suggestions flow.

| Valid Value | Description |
| --- | --- |
| getOrExecFieldUpdtSuggestion | Enqueues requests to get a field update suggestion from a field generation prompt template. Also enqueues requests to update a field based on the generated suggestion. This value is available in API version 64.0 and later. |

This value is used in Einstein Case Classification flow.

| Valid Value | Description |
| --- | --- |
| applyCaseClassificationRecommendations | Takes a Case ID as input and outputs a case SObject with recommendations applied. This value is available in API version 57.0 and later. |

These values are used in the Activities: Match Email to Records flow. Sync Email as Salesforce Activity must be enabled.

| Valid Value | Description |
| --- | --- |
| associateRecordsWithActivity | Updates the specified email message to associate it with specified records. This value is available in API version 64.0 and later. |
| getAcctOpptyFromEmailAddr | Gets an account record associated with one of the specified contacts or unmatched email addresses and also gets an opportunity record related to the account. This value is available in API version 63.0 and later. |
| getContcLeadsFromEmailAddr | Matches email addresses to contact and lead records related to specified active user records. This value is available in API version 63.0 and later. |
| getUsersFromEmailAddresses | Gets user records with email addresses that match those specified in the To, From, or CC address field after a sent email is captured by Einstein Activity Capture. This value is available in API version 63.0 and later. |

These values are used in the Identity User Registration flow.

| Valid Value | Description |
| --- | --- |
| generateUserData | Generates placeholder user data for the fields that are required to create a user. Available in API version 64.0 and later. |
| getUserDataFromJsonString | Gets an attribute value from a JSON object that has been serialized into a string. Use this action to retrieve user information from the identity provider's ID token and user info response. Available in API version 64.0 and later. |

These values are used in the Contracts flow.

| Valid Value | Description |
| --- | --- |
| checkInContractDocumentVersion | Check-in a contract document version. Available in API version 64.0 and later. |
| checkOutContractDocumentVersion | Check-out a contract document version. Available in API version 64.0 and later. |
| createContractDocumentVersion | Creates a contract document version. Available in API version 64.0 and later. |
| deleteContractDocumentVersion | Deletes a contract document version. Available in API version 64.0 and later. |
| getContractDocumentVersion | Gets a contract document version. Available in API version 64.0 and later. |
| updateContractDocumentVersion | Updates a contract document version. Available in API version 64.0 and later. |
| checkOutContractDocVersion | Check-out a contract document version. Available in API version 64.0 and later. |
| createClmContract | Create a contract for a specified record. Available in API version 64.0 and later. |
| getCntntDocDtlForCntrDocVer | Get content document details for the contract document version. Available in API version 64.0 and later. |
| getContractDocumentVersions | Get contract document versions. Available in API version 64.0 and later. |
| performContractAction | Perform actions on a contract based on its status. Available in API version 64.0 and later. |
| sendContractForESignature | Send a contract to specified recipients for e-signature. Available in API version 64.0 and later. |
| unlockContractDocumentVersion | Unlock an active contract document version that the user previously locked. Available in API version 64.0 and later. |
| updateClmContracts | Update contract for a specified record and update or create associated contract documents. Available in API version 64.0 and later. |

These values are used in the Einstein GPT Usecases flow.

| Valid Value | Description |
| --- | --- |
| createCaseForFinclAcctAddrUpdt | Create a case to update the financial account address. Available in API version 64.0 and later. |
| createVisitForContextRecord | Create a visit to record context. Available in API version 64.0 and later. |
| draftAGiftProposal | Create a gift proposal for an account. Available in API version 64.0 and later. |
| getCardDetailsForAccount | Get card details for an account. Available in API version 64.0 and later. |
| getFinancialAccountAddresses | Get financial account address details for an account. Available in API version 64.0 and later. |
| getFinancialTransactions | Get all financial account transactions associated with a specific financial account. Available in API version 64.0 and later. |
| summarizeMedicalHistoryForPatient | Summarize medical history of a specified patient. Available in API version 64.0 and later. |
| summarizeMedicationDetailsForPatient | Summarize medication details of a specified patient. Available in API version 64.0 and later. |

This value is used in the Grantmaking flow.

| Valid Value | Description |
| --- | --- |
| getActiveApplicationReviewerIds | Retrieves the user IDs of all active users who have the ReviewApplication user permission. This value is available in API version 64.0 and later. |

These values are used in Unified Catalog. If no version is specified, the value is available in API version 64.0 and later.

| Valid Value | Description |
| --- | --- |
| checkProductEligibility | Determines whether a user is eligible for a list of products, which represent service processes, based on predefined criteria. |
| checkSvcPrcActionEligibility | Determines whether an AI agent is eligible for a list of products, which represent service processes, and if the list is linked to a service process. |

These values are for the Batch Management jobs.

| Valid Value | Description |
| --- | --- |
| batchJobAction | Runs the batch management jobs definitions. This value is available in API version 51.0 and later. |
| submitFailedRecordsBatchJob | Resubmits an existing batch job with failed records for processing. This value is available in API version 52.0 and later. |

This value is for Data Processing Engine.

| Valid Value | Description |
| --- | --- |
| dataProcessingEngineAction | Runs the data processing engine definitions. This value is available in API version 51.0 and later. |

This value is used for Einstein Visit Recommendation.

| Valid Value | Description |
| --- | --- |
| saveRecommendationDecision | Save visit and task recommendation decisions. This value is available in API version 51.0 and later. |

These values are used with Inbox. If no version is specified, the values are available in API version 66.0 and later.

| Valid Value | Description |
| --- | --- |
| confirmSalesMeeting | Confirms a meeting time that's part of a request to get available meeting time slots. |
| getAvailableMeetingTimes | Retrieves the time slots available for booking a meeting. |

These values are used in Public Sector Solutions.

| Valid Value | Description |
| --- | --- |
| bulkEnqueuePostingsToGenLeads | Enqueues active recruitment postings so that matching candidates are sourced as lead records. This value is available in API version 68.0 and later. |
| createBenefitDisbursement | Creates a benefit disbursement for an eligible benefit assignment. This value is available in API version 57.0 and later. |
| invocableCallContentSearch | Searches file content stored in Amazon S3, including images, audio, video, and PDFs, and returns matching files with citations. This value is available in API version 68.0 and later. |
| runRecordAggrBatchProcDef | Runs a Data Processing Engine definition to process an asynchronous batch job that creates or updates record aggregation results. This value is available in API version 59.0 and later. |

These values are used in Einstein Conversation Insights.

| Valid Value | Description |
| --- | --- |
| getConversationIntelligence | Gets the conversation intelligence information about a voice or video call, including any insights and the conversation summary. This value is available in API version 65.0 and later. |
| getConversationTranscript | Gets the conversation transcript for the specified voice or video call record. This value is available in API version 63.0 and later. |

This value is used in the Get Opportunity Details flow.

| Valid Value | Description |
| --- | --- |
| getRecPrioData | Gets the record data and field metadata required to prioritize records. This value is available in API version 62.0 and later. |

These values are used in Agentforce Sales Management flows.

| Valid Value | Description |
| --- | --- |
| getContentNote | Gets the most recent content note data for a specified record. This value is available in API version 64.0 and later. |
| getRelatedEmails | Gets a list of emails that are related to a specific record and that were logged within a specified date range. This value is available in API version 66.0 and later. |
| sendSalesAgentNtfcnInSlack | Sends notifications from the Sales Management Agent to a user in Slack. This value is available in API version 65.0 and later. |

These values are reserved for future use.

- exportSurveyResponses
- metricRefresh
- thanks

These values are reserved for internal use.

- addAgentsToContactCenter
- fetchSegmentsSchedule
- getSegMemberAbsenceContainers
- getSegmentBillingEstimate
- getSecurityConnectedTenants
- getSession
- internalTestAction
- internalTestConnectApiAction
- respondToPartnerOffer
- revokeEcaSessions
- summarizeOauthTokensForApp

For values used in other products or features, see:

- [Flow for Asset Lifecycle](https://developer.salesforce.com/docs/atlas.en-us.264.0.revenue_lifecycle_management_dev_guide.meta/revenue_lifecycle_management_dev_guide/asset_lifecycle_flow_metadata_api.htm "HTML (New Window)")
- [Flow for B2B Referral Management](https://developer.salesforce.com/docs/atlas.en-us.264.0.referral_marketing.meta/referral_marketing/b2b_referral_management_flow_metadata_api.htm "HTML (New Window)")
- [Flow for Billing](https://developer.salesforce.com/docs/atlas.en-us.264.0.revenue_lifecycle_management_dev_guide.meta/revenue_lifecycle_management_dev_guide/billing_flow_metadata_api.htm "HTML (New Window)")
- [Flow for Business Rules Engine](https://developer.salesforce.com/docs/atlas.en-us.264.0.industries_reference.meta/industries_reference/bre_flow_metadata_api.htm "HTML (New Window)")
- [Flow for Context Service](https://developer.salesforce.com/docs/atlas.en-us.264.0.industries_reference.meta/industries_reference/context_service_flow_metadata_api.htm "HTML (New Window)")
- [Flow for Digital Lending.](https://developer.salesforce.com/docs/atlas.en-us.264.0.industries_reference.meta/industries_reference/digital_lending_flow_metadata_api.htm "HTML (New Window)")
- [Flow for Dynamic Revenue Orchestrator](https://developer.salesforce.com/docs/atlas.en-us.264.0.revenue_lifecycle_management_dev_guide.meta/revenue_lifecycle_management_dev_guide/dynamic_revenue_orchestrator_flow_metadata_api.htm "HTML (New Window)")
- [Flow for Financial Services Cloud](https://developer.salesforce.com/docs/atlas.en-us.264.0.financial_services_cloud_object_reference.meta/financial_services_cloud_object_reference/fsc_meta_visual_workforce.htm "HTML (New Window)")
- [Flow for Fundraising](https://developer.salesforce.com/docs/atlas.en-us.264.0.nonprofit_cloud.meta/nonprofit_cloud/fundraising_flow_metadata_api.htm "HTML (New Window)")
- [Flow for Health Cloud](https://developer.salesforce.com/docs/atlas.en-us.264.0.health_cloud_object_reference.meta/health_cloud_object_reference/health_cloud_flow_metadata_api.htm "HTML (New Window)")
- [Flow for Insurance Brokerage](https://developer.salesforce.com/docs/atlas.en-us.264.0.insurance_developer_guide.meta/insurance_developer_guide/insurance_brokerage_flow_metadata_api.htm "HTML (New Window)")
- [Flow for Insurance Claims](https://developer.salesforce.com/docs/atlas.en-us.264.0.insurance_developer_guide.meta/insurance_developer_guide/insurance_claim_flow_metadata_api.htm "HTML (New Window)")
- [Flow for Insurance Group Benefits](https://developer.salesforce.com/docs/atlas.en-us.264.0.insurance_developer_guide.meta/insurance_developer_guide/insurance_group_benefits_flow_metadata_api.htm "HTML (New Window)")
- [Flow for Insurance Policy Administration](https://developer.salesforce.com/docs/atlas.en-us.264.0.insurance_developer_guide.meta/insurance_developer_guide/insurance_policy_administration_flow_metadata_api.htm "HTML (New Window)")
- [Flow for Insurance Quoting](https://developer.salesforce.com/docs/atlas.en-us.264.0.insurance_developer_guide.meta/insurance_developer_guide/insurance_quoting_flow_metadata_api.htm "HTML (New Window)")
- [Flow for Intelligent Document Reader](https://developer.salesforce.com/docs/atlas.en-us.264.0.industries_reference.meta/industries_reference/intelligent_document_reader_standard_actions_parent.htm "HTML (New Window)")
- [Flow for Intelligent Form Reader](https://developer.salesforce.com/docs/atlas.en-us.264.0.industries_reference.meta/industries_reference/form_reader_standard_actions_parent.htm "HTML (New Window)")
- [Flow for Life Sciences Cloud](https://developer.salesforce.com/docs/atlas.en-us.264.0.life_sciences_dev_guide.meta/life_sciences_dev_guide/life_sciences_flow_metadata_api.htm "HTML (New Window)")
- [Flow for Loyalty Management](https://developer.salesforce.com/docs/atlas.en-us.264.0.loyalty.meta/loyalty/loyalty_management_flow_metadata_api.htm "HTML (New Window)")
- [Flow for Manufacturing Cloud](https://developer.salesforce.com/docs/atlas.en-us.264.0.mfg_api_devguide.meta/mfg_api_devguide/mfg_flow_metadata_api.htm "HTML (New Window)")
- [Flow for Net Zero Cloud](https://developer.salesforce.com/docs/atlas.en-us.264.0.netzero_cloud_dev_guide.meta/netzero_cloud_dev_guide/net_zero_cloud_invocable_actions_parent.htm "HTML (New Window)")
- [Flow for Omnistudio](https://developer.salesforce.com/docs/atlas.en-us.264.0.industries_reference.meta/industries_reference/omnistudio_flow_metadata_api.htm "HTML (New Window)")
- [Flow for Process Compliance Navigator](https://developer.salesforce.com/docs/atlas.en-us.264.0.industries_reference.meta/industries_reference/process_compliance_navigator_flow_metadata_api.htm "HTML (New Window)")
- [Flow for Product Configurator](https://developer.salesforce.com/docs/atlas.en-us.264.0.revenue_lifecycle_management_dev_guide.meta/revenue_lifecycle_management_dev_guide/product_configurator_flow_metadata_api.htm "HTML (New Window)")
- [Flow for Product Discovery](https://developer.salesforce.com/docs/atlas.en-us.264.0.revenue_lifecycle_management_dev_guide.meta/revenue_lifecycle_management_dev_guide/product_discovery_flow_metadata_api.htm "HTML (New Window)")
- [Flow for Quote and Order Capture](https://developer.salesforce.com/docs/atlas.en-us.264.0.revenue_lifecycle_management_dev_guide.meta/revenue_lifecycle_management_dev_guide/qoc_flow_metadata_api.htm "HTML (New Window)")
- [Flow for Rate Management](https://developer.salesforce.com/docs/atlas.en-us.264.0.revenue_lifecycle_management_dev_guide.meta/revenue_lifecycle_management_dev_guide/rate_management_flow_metadata_api.htm "HTML (New Window)")
- [Flow for Referral Marketing](https://developer.salesforce.com/docs/atlas.en-us.264.0.referral_marketing.meta/referral_marketing/referral_flow_metadata_api.htm "HTML (New Window)")
- [Flow for Salesforce Pricing](https://developer.salesforce.com/docs/atlas.en-us.264.0.revenue_lifecycle_management_dev_guide.meta/revenue_lifecycle_management_dev_guide/pricing_flow_metadata_api.htm "HTML (New Window)")
- [Flow for Usage Management](https://developer.salesforce.com/docs/atlas.en-us.264.0.revenue_lifecycle_management_dev_guide.meta/revenue_lifecycle_management_dev_guide/usage_management_flow_metadata_api.htm "HTML (New Window)")

## FlowActionCallInputParameter

Defines an input parameter from the flow to the action. It extends [FlowBaseElement](#FlowBaseElement) and inherits all its fields. This metadata type is available in API version 31.0 and later.

| Field Name | Field Type | Description |
| --- | --- | --- |
| name | string | Required. Unique name for the input parameter. |
| value | [FlowElementReferenceOrValue](#FlowElementReferenceOrValue) | Defines the value of the input parameter. |

## FlowActionCallOutputParameter

Defines an output parameter from the action to the flow. It extends [FlowBaseElement](#FlowBaseElement) and inherits all its fields. This metadata type is available in API version 31.0 and later.

| Field Name | Field Type | Description |
| --- | --- | --- |
| assignToReference | string | Required. Specifies the variable that you want to assign the target output value to. |
| name | string | Required. Unique name for the output parameter. |

## FlowActionCallPath

A path determines which node of the flow is executed after the Einstein Decision element. A path defines and links to the subsequent node. It extends [FlowBaseElement](#FlowBaseElement) and inherits all its fields. This metadata type is available in API version 63.0 and later.

| Field Name | Field Type | Description |
| --- | --- | --- |
| connector | [FlowConnector](#FlowConnector) | Required. Which node to execute after completing the current node. |
| pathName | string | Required. Unique name for the path. |

## FlowApexPluginCall

Defines a call to an Apex plug-in from the flow. It extends [FlowNode](#FlowNode) and inherits all its fields.

| Field Name | Field Type | Description |
| --- | --- | --- |
| apexClass | string | Required. The name of the Apex class. |
| connector | [FlowConnector](#FlowConnector) | Specifies which node to execute after this Apex plug-in call. |
| faultConnector | [FlowConnector](#FlowConnector) | Specifies which node to execute if the Apex plug-in call results in an error. |
| inputParameters | [FlowApexPluginCallInputParameter](#FlowApexPluginCallInputParameter)\[\] | An array of input parameters from the flow to the Apex plug-in. |
| outputParameters | [FlowApexPluginCallOutputParameter](#FlowApexPluginCallOutputParameter)\[\] | An array of output parameters from the Apex plug-in to the flow. |

## FlowApexPluginCallInputParameter

Defines an input parameter from the flow to the Apex plug-in. It extends [FlowBaseElement](#FlowBaseElement) and inherits all its fields.

| Field Name | Field Type | Description |
| --- | --- | --- |
| name | string | Required. Unique name for the input parameter. |
| value | [FlowElementReferenceOrValue](#FlowElementReferenceOrValue) | Defines the value of the input parameter. |

## FlowApexPluginCallOutputParameter

Defines an output parameter from the Apex plug-in to the flow. It extends [FlowBaseElement](#FlowBaseElement) and inherits all its fields.

| Field Name | Field Type | Description |
| --- | --- | --- |
| assignToReference | string | Required. Specifies the variable that you want to assign the target output value to. |
| name | string | Required. Unique name for the output parameter. |

## FlowAssignment

Defines an assignment node that can dynamically change the value of a variable in the flow. It extends [FlowNode](#FlowNode) and inherits all of its fields.

| Field Name | Field Type | Description |
| --- | --- | --- |
| assignmentItems | [FlowAssignmentItem](#FlowAssignmentItem)\[\] | An array of assignment operations that’s executed in the given order, starting from the index 0. |
| connector | [FlowConnector](#FlowConnector) | Specifies which node to execute after this assignment node. |

## FlowAssignmentItem

Defines an operation to apply to a variable. It extends [FlowBaseElement](#FlowBaseElement) and inherits all its fields.

| Field Name | Field Type | Description |
| --- | --- | --- |
| assignToReference | string | Specifies the variable that you want to assign the target output value to. |
| operator | [FlowAssignmentOperator](#FlowAssignmentOperator) (enumeration of type string) | Operation to apply to the variable reference in the assignToReference field. For valid values, see [FlowAssignmentOperator](#FlowAssignmentOperator). |
| value | [FlowElementReferenceOrValue](#FlowElementReferenceOrValue) | Defines the value that you want the operator to apply to the variable reference in the assignToReference field. |

## FlowAssignmentOperator

An enumeration of type string that specifies the operation to apply to the variable in the assignToReference field. See “[Flow Operators in Assignment Elements](https://help.salesforce.com/articleView?id=flow_ref_operators_assignment.htm&language=en_US "HTML (New Window)")” in Salesforce Help.

These values are valid.

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


          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d950606e6600">Enumeration Value</th>

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

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d950606e6600" data-title="Enumeration Value"><samp class="codeph nolang">Add</samp></td>

              <td class="entry" headers="d950606e6603" data-title="Description">When the <span class="keyword parmname">assignToReference</span> field is a
                variable of type number or currency, this operator adds the
                <span class="keyword parmname">value</span> to the variable.<p class="p">When the
                  <span class="keyword parmname">assignToReference</span> field is a variable
                  of type date, this operator adds the <span class="keyword parmname">value</span>
                  in days to the variable.
                </p>
                <p class="p">When the
                  <span class="keyword parmname">assignToReference</span> field is a variable
                  of type string, this operator appends the
                  <span class="keyword parmname">value</span> to the end of the
                  string.
                </p>
                <p class="p">When the <span class="keyword parmname">assignToReference</span>
                  field is a variable of type picklist, this operator appends the
                  <span class="keyword parmname">value</span> to the end of the last item in
                  the picklist.
                </p>
                <p class="p">When the
                  <span class="keyword parmname">assignToReference</span> field is a variable
                  of type multipicklist, this operator appends the
                  <span class="keyword parmname">value</span> to the end of the last item in
                  the multi-select picklist. To instead add an item to the end of
                  the multi-select picklist, use the <samp class="codeph nolang">AddItem</samp> operator.
                </p>
                <p class="p">When the
                  <span class="keyword parmname">assignToReference</span> field is the
                  <span class="keyword parmname">$Flow.ActiveStages</span> global variable,
                  this operator appends the <span class="keyword parmname">value</span> as a new
                  item at the end of
                  <span class="keyword parmname">$Flow.ActiveStages</span>.
                </p>
                <p class="p">When the
                  <span class="keyword parmname">assignToReference</span> field is a collection
                  variable, this operator appends the <span class="keyword parmname">value</span>
                  to the end of the collection. Support for a collection variable
                  as the <span class="keyword parmname">value</span> is available in API version
                  43.0 and later, but only via Metadata API. From Flow Builder,
                  you can’t save an Assignment element that contains a collection
                  variable in the Value column for the <samp class="codeph nolang">Add</samp> operator.
                </p>
                <p class="p">The <samp class="codeph nolang">Add</samp> operator isn’t supported
                  when the <span class="keyword parmname">assignToReference</span> field is a
                  variable of type boolean, dateTime, or sObject.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e6600" data-title="Enumeration Value"><samp class="codeph nolang">AddAtStart</samp></td>

              <td class="entry" headers="d950606e6603" data-title="Description">Supported only when the <span class="keyword parmname">assignToReference</span>
                field is a collection variable or the
                <span class="keyword parmname">$Flow.ActiveStages</span> global variable. Adds
                the <span class="keyword parmname">value</span> as a new item at the beginning of the
                collection. When the <span class="keyword parmname">value</span> is a collection
                variable, the operator adds all items at the beginning of the
                collection. This operator is available in API version 43.0 and
                later.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e6600" data-title="Enumeration Value"><samp class="codeph nolang">AddItem</samp></td>

              <td class="entry" headers="d950606e6603" data-title="Description">Supported only when the <span class="keyword parmname">assignToReference</span>
                field is a variable of type multipicklist. Adds the
                <span class="keyword parmname">value</span> to the picklist, including the
                semicolon that’s required to mark a <span class="keyword parmname">value</span> as a
                separate item. This operator is available in API version 34.0 and
                later.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e6600" data-title="Enumeration Value"><samp class="codeph nolang">Assign</samp></td>

              <td class="entry" headers="d950606e6603" data-title="Description">Assigns the <span class="keyword parmname">value</span> to the variable in the
                <span class="keyword parmname">assignToReference</span> field.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e6600" data-title="Enumeration Value"><samp class="codeph nolang">AssignCount</samp></td>

              <td class="entry" headers="d950606e6603" data-title="Description">Supported only when the <span class="keyword parmname">value</span> is a
                collection variable or the <span class="keyword parmname">$Flow.ActiveStages</span>
                global variable. Counts the number of stages or items in the
                collection, and assigns that number to the variable in the
                <span class="keyword parmname">assignToReference</span> field. Corresponds to
                <span class="keyword parmname">equals count</span> in the user interface. This
                operator is available in API version 43.0 and later.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e6600" data-title="Enumeration Value"><samp class="codeph nolang">RemoveAfterFirst</samp></td>

              <td class="entry" headers="d950606e6603" data-title="Description">Supported only when the <span class="keyword parmname">assignToReference</span>
                field is a collection variable or the
                <span class="keyword parmname">$Flow.ActiveStages</span> global variable. Finds
                the first instance of the <span class="keyword parmname">value</span> within the
                variable in the <span class="keyword parmname">assignToReference</span> field.
                Removes everything after that first instance from the variable. This
                operator is available in API version 43.0 and later.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e6600" data-title="Enumeration Value"><samp class="codeph nolang">RemoveAll</samp></td>

              <td class="entry" headers="d950606e6603" data-title="Description">Supported only when the <span class="keyword parmname">assignToReference</span>
                field is a collection variable or the
                <span class="keyword parmname">$Flow.ActiveStages</span> global variable. Removes
                all instances of the <span class="keyword parmname">value</span> from the variable in
                the <span class="keyword parmname">assignToReference</span> field. When the
                <span class="keyword parmname">value</span> is a collection variable, the
                operator removes all instances of each item from the variable in the
                <span class="keyword parmname">assignToReference</span> field. This operator is
                available in API version 43.0 and later.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e6600" data-title="Enumeration Value"><samp class="codeph nolang">RemoveBeforeFirst</samp></td>

              <td class="entry" headers="d950606e6603" data-title="Description">Supported only when the <span class="keyword parmname">assignToReference</span>
                field is a collection variable or the
                <span class="keyword parmname">$Flow.ActiveStages</span> global variable. Finds
                the first instance of the <span class="keyword parmname">value</span> within the
                variable in the <span class="keyword parmname">assignToReference</span> field.
                Removes everything before that first instance from the variable.
                This operator is available in API version 43.0 and later.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e6600" data-title="Enumeration Value"><samp class="codeph nolang">RemoveFirst</samp></td>

              <td class="entry" headers="d950606e6603" data-title="Description">Supported only when the <span class="keyword parmname">assignToReference</span>
                field is a collection variable or the
                <span class="keyword parmname">$Flow.ActiveStages</span> global variable. Removes
                the first instance of the <span class="keyword parmname">value</span> from the
                variable in the <span class="keyword parmname">assignToReference</span> field. This
                operator is available in API version 43.0 and later.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e6600" data-title="Enumeration Value"><samp class="codeph nolang">RemovePosition</samp></td>

              <td class="entry" headers="d950606e6603" data-title="Description">Supported only when the <span class="keyword parmname">assignToReference</span>
                field is a collection variable or the
                <span class="keyword parmname">$Flow.ActiveStages</span> global variable. Removes
                the item at the specified position. For example, if the collection
                contains three items, such as Red, Green, and Blue, and the
                <span class="keyword parmname">value</span> is 2, the second item, Green, is
                removed from the collection variable. This operator is available in
                API version 43.0 and later.<p class="p">Make sure that the
                  <span class="keyword parmname">value</span> at run time is a positive integer
                  within the range of the number of items in the collection
                  variable.
                </p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e6600" data-title="Enumeration Value"><samp class="codeph nolang">RemoveUncommon</samp></td>

              <td class="entry" headers="d950606e6603" data-title="Description">Supported only when <span class="keyword parmname">assignToReference</span> and
                <span class="keyword parmname">value</span> are both collection variables. Keeps
                items that are in both collections and removes the rest from the
                collection variable in the <span class="keyword parmname">assignToReference</span>
                field. This operator is available in API version 43.0 and
                later.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e6600" data-title="Enumeration Value"><samp class="codeph nolang">Subtract</samp></td>

              <td class="entry" headers="d950606e6603" data-title="Description">Supported only when the <span class="keyword parmname">assignToReference</span>
                field is a variable of type currency, date, or number.<p class="p">When the
                  <span class="keyword parmname">assignToReference</span> field is a variable
                  of type number or currency, this operator subtracts the
                  <span class="keyword parmname">value</span> from the variable.
                </p>
                <p class="p">When the
                  <span class="keyword parmname">assignToReference</span> field is a variable
                  of type date, this operator subtracts the
                  <span class="keyword parmname">value</span> in days from the
                  variable.
                </p>
              </td>

            </tr>

          </tbody>

        </table>

## FlowBaseElement

Base class for all flow elements that require contextual information in metadata values. This class is an abstract class. FlowBaseElement is available in API version 32.0 and later.

| Field Name | Field Type | Description |
| --- | --- | --- |
| processMetadataValues | [FlowMetadataValue](#FlowMetadataValue)\[\] | Contextual information for the element. |

## FlowChoice

A choice resource is a standalone choice option that you can reference or reuse throughout the flow. It extends [FlowElement](#FlowElement) and inherits all of its fields. See [Salesforce Help: Flow Resource: Choice](https://help.salesforce.com/s/articleView?id=platform.flow_ref_resources_choice.htm&language=en_US).

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e7041" data-title="Field Type"><a class="xref" href="#FlowIcon">FlowIcon</a></td>

              <td class="entry" headers="d950606e7044" data-title="Description">The icon to display for the choice in the screen. This field is
                available in API version 64.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e7041" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e7044" data-title="Description">Required. Choice label to display in the screen.</td>

            </tr>

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

              <td class="entry" headers="d950606e7041" data-title="Field Type">FlowDataType (enumeration of type string)</td>

              <td class="entry" headers="d950606e7044" data-title="Description">Required. Valid types are:<a name="FlowDataType_std_values"><!-- --></a>
                <ul class="ul bulletList" id="FlowDataType_std_values">
                  <li class="li"><samp class="codeph nolang">Currency</samp></li>

                  <li class="li"><samp class="codeph nolang">Date</samp></li>

                  <li class="li"><samp class="codeph nolang">Number</samp></li>

                  <li class="li"><samp class="codeph nolang">String</samp></li>

                  <li class="li"><samp class="codeph nolang">Boolean</samp></li>

                  <li class="li"><samp class="codeph nolang">Time</samp></li>

                </ul>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e7041" data-title="Field Type"><a class="xref" href="#FlowChoiceUserInput">FlowChoiceUserInput</a></td>

              <td class="entry" headers="d950606e7044" data-title="Description">Enables the choice to allow user input when the choice is
                selected. Not supported for choices in multi-select fields.</td>

            </tr>

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

              <td class="entry" headers="d950606e7041" data-title="Field Type"><a class="xref" href="#FlowElementReferenceOrValue">FlowElementReferenceOrValue</a></td>

              <td class="entry" headers="d950606e7044" data-title="Description">Actual value that’s used during flow execution, for example, in
                assignments, calls to Apex plug-ins, and record elements. If null,
                this choice always has the value of null.</td>

            </tr>

          </tbody>

        </table>

## FlowChoiceUserInput

Allows the choice to include a user input field that appears when the user selects a choice. User input isn’t supported for choices in multi-select fields. It extends [FlowBaseElement](#FlowBaseElement) and inherits all its fields.

| Field Name | Field Type | Description |
| --- | --- | --- |
| isRequired | boolean | Indicates whether users are required to enter something into the field when they select the choice. |
| promptText | string | Text that’s displayed to prompt the user for input at runtime. Supports merge fields. |
| validationRule | [FlowInputValidationRule](#FlowInputValidationRule) | A rule used at runtime to validate the user input. |

## FlowCollectionProcessor

Defines a node that processes the contents of a collection, depending on the collectionProcessorType. FlowCollectionProcessor is available in API version 50.0 and later. FlowCollectionProcessor extends FlowNode and inherits all its fields.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e7265" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e7268" data-title="Description">The name of the variable that’s assigned to the next value of the
                collection.</td>

            </tr>

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

              <td class="entry" headers="d950606e7265" data-title="Field Type">FlowCollectionProcessorType</td>

              <td class="entry" headers="d950606e7268" data-title="Description">The type of the collection processor. Valid values are:<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">SortCollectionProcessor</samp>—This value is available in
                    API version 50.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">RecommendationMapCollectionProcessor</samp>— This
                    value is available in API version 53.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">FilterCollectionProcessor</samp>— This value is
                    available in API version 53.0 and later.
                  </li>

                </ul>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e7265" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e7268" data-title="Description">The collection being sorted, filtered, or assigned to
                recommendations.</td>

            </tr>

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

              <td class="entry" headers="d950606e7265" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e7268" data-title="Description">Defines how the filtering conditions are evaluated. Valid values are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">And</samp></li>

                  <li class="li"><samp class="codeph nolang">Or</samp></li>

                  <li class="li"><samp class="codeph nolang">Custom logic, such as (1 AND (2
                      OR 3))</samp></li>

                  <li class="li"><samp class="codeph nolang">Formula</samp></li>

                </ul>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e7265" data-title="Field Type">
                <a class="xref" href="#FlowCondition">FlowCondition</a>[]
              </td>

              <td class="entry" headers="d950606e7268" data-title="Description">An array of conditions for the input collection.</td>

            </tr>

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

              <td class="entry" headers="d950606e7265" data-title="Field Type"><a class="xref" href="#FlowConnector">FlowConnector</a></td>

              <td class="entry" headers="d950606e7268" data-title="Description">Specifies which node to execute after processing the
                collection.</td>

            </tr>

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

              <td class="entry" headers="d950606e7265" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e7268" data-title="Description">The formula expression that filters the input collection. If the
                formula evaluates to <samp class="codeph nolang">true</samp>, the
                record is added to the output collection.</td>

            </tr>

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

              <td class="entry" headers="d950606e7265" data-title="Field Type">int</td>

              <td class="entry" headers="d950606e7268" data-title="Description">The maximum number of records to include in the generated
                collection. There’s no default value. All items of the collection
                are kept if it’s greater than the size of the collection. <p class="p">If
                  sortField and sortOrder are also specified, the records are
                  sorted before the limit takes effect.</p>

                <p class="p">This field is available in API version 51.0 and later.</p>

                <p class="p">This field is nillable in API version 51.0 and later.</p>

              </td>

            </tr>

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

              <td class="entry" headers="d950606e7265" data-title="Field Type">
                <a class="xref" href="#FlowCollectionMapItem">FlowCollectionMapItem</a>[]
              </td>

              <td class="entry" headers="d950606e7268" data-title="Description">The rules to map each field of the collection variable.</td>

            </tr>

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

              <td class="entry" headers="d950606e7265" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e7268" data-title="Description">The sObject type of the output collection.</td>

            </tr>

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

              <td class="entry" headers="d950606e7265" data-title="Field Type">
                <a class="xref" href="#FlowCollectionSortOption">FlowCollectionSortOption</a>[]
              </td>

              <td class="entry" headers="d950606e7268" data-title="Description">An array of options to sort the items in the collection. This
                field is available in API version 51.0 and later.</td>

            </tr>

          </tbody>

        </table>

## FlowCollectionSortOption

Sets the sorting field, sort order, and placement of empty or null values in the sorted collection. This metadata type is available in API version 51.0 and later.

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



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

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

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

            </tr>

          </thead>

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

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

              <td class="entry" headers="d950606e7509" data-title="Description">Place empty or null values first in the sorted list by setting
                this value to <samp class="codeph nolang">true</samp>. The default
                value is <samp class="codeph nolang">false</samp>.</td>

            </tr>

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

              <td class="entry" headers="d950606e7506" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e7509" data-title="Description">Determines the sorting of records that meet the filter criteria.
                Required for record collections and collections of Apex-defined
                variables. <p class="p">If the collection is a primitive data type, such as a
                  list of string or integer values, <span class="keyword parmname">sortField</span>
                  isn’t supported.</p>

              </td>

            </tr>

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

              <td class="entry" headers="d950606e7506" data-title="Field Type">SortOrder (enumeration of type string)</td>

              <td class="entry" headers="d950606e7509" data-title="Description">The order that the collection is sorted in. Valid values are:<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">Asc</samp>—Ascending
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Desc</samp>—Descending
                  </li>

                </ul>
              </td>

            </tr>

          </tbody>

        </table>

## FlowCustomError

Defines a custom error element to roll back a change that triggered a flow and inform the user exactly what caused the error. It extends [FlowNode](#FlowNode) and inherits all its fields.

| Field Name | Field Type | Description |
| --- | --- | --- |
| description | string | Describes the error message. |
| connector | [FlowConnector](#FlowConnector) | Required. Which node to execute after completing the current node. |
| customErrorMessages | [FlowCustomErrorMessage](#FlowCustomErrorMessage)\[\] | An array of custom error messages. |

## FlowCustomErrorMessage

Defines a custom error message for a custom error element. It extends [FlowBaseElement](#FlowBaseElement) and inherits all its fields.

| Field Name | Field Type | Description |
| --- | --- | --- |
| errorMessage | string | Required. Specifies the custom error message. |
| fieldSelection | string | References the erroneous field that’s associated with the custom error message. |
| isFieldError | boolean | Required. When this field is set to true, indicates that the custom error message displays inline on a field. When it is set to false, it displays in a window on a record page. The default value is false. |

## FlowCondition

Defines a condition for a rule. It extends [FlowBaseElement](#FlowBaseElement) and inherits all its fields.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e7791" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e7794" data-title="Description">Operation to apply to the variable reference in the
                <span class="keyword parmname">assignToReference</span> field. The valid value is:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">Count</samp></li>

                </ul>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e7791" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e7794" data-title="Description">Specifies logic for the conditions. Value can be:<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">and</samp>—Evaluates to
                    <samp class="codeph nolang">true</samp> only if all
                    its conditions evaluate to true
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">or</samp>—Evaluates to <samp class="codeph nolang">true</samp> if any of its
                    conditions evaluate to true
                  </li>

                </ul>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e7791" data-title="Field Type">FlowWaitConditionType (enumeration of type string)</td>

              <td class="entry" headers="d950606e7794" data-title="Description">The type of condition that a requirement in an automation is used
                for. Valid values are:<ul class="ul bulletList">
                  <li class="li">Container</li>

                  <li class="li">EntryCondition</li>

                  <li class="li">ExitCondition</li>

                </ul>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e7791" data-title="Field Type">
                <a class="xref" href="#FlowCondition">FlowCondition</a>[]
              </td>

              <td class="entry" headers="d950606e7794" data-title="Description">An array of conditions that must be <samp class="codeph nolang">true</samp> for the flow to execute the rule.</td>

            </tr>

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

              <td class="entry" headers="d950606e7791" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e7794" data-title="Description">Required. Unique name of the element that serves as the left side
                of the condition expression.</td>

            </tr>

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

              <td class="entry" headers="d950606e7791" data-title="Field Type">FlowComparisonOperator (enumeration of type string)</td>

              <td class="entry" headers="d950606e7794" data-title="Description">Required. Comparison operators in conditions for flow elements
                and resources. The date comparison operators, such as <samp class="codeph nolang">IsAfter</samp>, <samp class="codeph nolang">IsBefore</samp>, and <samp class="codeph nolang">IsOn</samp>, apply to
                <span class="keyword parmname">Date</span> fields only, not
                <span class="keyword parmname">DateTime</span> fields. Valid values are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">Contains</samp></li>

                  <li class="li"><samp class="codeph nolang">EndsWith</samp></li>

                  <li class="li"><samp class="codeph nolang">EqualTo</samp></li>

                  <li class="li"><samp class="codeph nolang">GreaterThan</samp></li>

                  <li class="li">
                    <samp class="codeph nolang">GreaterThanLastNumberOfDays</samp>—Returns <samp class="codeph nolang">true</samp> if the date value is
                    more than N days before today. If N is a decimal, only the
                    integer portion is used. This value is available in API
                    version 67.0 and later.
                  </li>

                  <li class="li"><samp class="codeph nolang">GreaterThanOrEqualTo</samp></li>

                  <li class="li">
                    <samp class="codeph nolang">HasError</samp>—This value is
                    available in API version 64.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">HasNoValue</samp>—Returns
                    <samp class="codeph nolang">true</samp> if the date
                    value has no value. This value is available in API version
                    67.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">HasValue</samp>—Returns
                    <samp class="codeph nolang">true</samp> if the date
                    value has a value. This value is available in API version
                    67.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">In</samp>— This value is
                    available in API version 56.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">IsAfter</samp>—Returns <samp class="codeph nolang">true</samp> if the date value is
                    after the specified date. This value is available in API
                    version 67.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">IsAnniversaryOfToday</samp>—Returns <samp class="codeph nolang">true</samp> if the month and day
                    of the date value match today's month and day. This value is
                    available in API version 67.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">IsBefore</samp>—Returns
                    <samp class="codeph nolang">true</samp> if the date
                    value is before the specified date. This value is available
                    in API version 67.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">IsBlank</samp>—A text value
                    with zero characters or with only whitespace. Use to
                    determine whether a text field or variable is blank. For
                    other data type values, use to determine whether a field or
                    variable is null. This value is available in API version
                    61.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">IsChanged—</samp> This value
                    is available in API version 52.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">IsEmpty</samp>—An empty
                    collection. This value is available in API version 61.0 and
                    later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">IsLastMonth</samp>—Returns
                    <samp class="codeph nolang">true</samp> if the date
                    value falls within the previous calendar month. This value
                    is available in API version 67.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">IsNextMonth</samp>—Returns
                    <samp class="codeph nolang">true</samp> if the date
                    value falls within the next calendar month. This value is
                    available in API version 67.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">IsNotAnniversaryOfToday</samp>—Returns <samp class="codeph nolang">true</samp> if the month and day
                    of the date value don't match today's month and day. This
                    value is available in API version 67.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">IsNull</samp>—A value that is
                    either not set or references no value. Use to determine
                    whether a field or variable value is set to no value.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">IsOn</samp>—Returns <samp class="codeph nolang">true</samp> if the date value is
                    the same as the specified date. This value is available in
                    API version 67.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">IsThisMonth</samp>—Returns
                    <samp class="codeph nolang">true</samp> if the date
                    value falls within the current calendar month. This value is
                    available in API version 67.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">IsToday</samp>—Returns <samp class="codeph nolang">true</samp> if the date value is
                    today's date. This value is available in API version 67.0
                    and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">IsTomorrow</samp>—Returns
                    <samp class="codeph nolang">true</samp> if the date
                    value is tomorrow's date. This value is available in API
                    version 67.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">IsYesterday</samp>—Returns
                    <samp class="codeph nolang">true</samp> if the date
                    value is yesterday's date. This value is available in API
                    version 67.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">LastNumberOfDays</samp>—Returns <samp class="codeph nolang">true</samp> if the date value
                    falls within the last N days, including today. If N is a
                    decimal, only the integer portion is used. This value is
                    available in API version 67.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">LastNumberOfMonths</samp>—Returns <samp class="codeph nolang">true</samp> if the date value
                    falls within the last N calendar months, excluding the
                    current month. If N is a decimal, only the integer portion
                    is used. This value is available in API version 67.0 and
                    later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">LastNumberOfYears</samp>—Returns <samp class="codeph nolang">true</samp> if the date value
                    falls within the last N calendar years, excluding the
                    current year. If N is a decimal, only the integer portion is
                    used. This value is available in API version 67.0 and
                    later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">LastYear</samp>—Returns
                    <samp class="codeph nolang">true</samp> if the date
                    value falls within the previous calendar year. This value is
                    available in API version 67.0 and later.
                  </li>

                  <li class="li"><samp class="codeph nolang">LessThan</samp></li>

                  <li class="li"><samp class="codeph nolang">LessThanOrEqualTo</samp></li>

                  <li class="li">
                    <samp class="codeph nolang">NextNumberOfDays</samp>—Returns <samp class="codeph nolang">true</samp> if the date value
                    falls within the next N days, including today. If N is a
                    decimal, only the integer portion is used. This value is
                    available in API version 67.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">NextNumberOfMonths</samp>—Returns <samp class="codeph nolang">true</samp> if the date value
                    falls within the next N calendar months, excluding the
                    current month. If N is a decimal, only the integer portion
                    is used. This value is available in API version 67.0 and
                    later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">NextYear</samp>—Returns
                    <samp class="codeph nolang">true</samp> if the date
                    value falls within the next calendar year. This value is
                    available in API version 67.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">None</samp>— Save a flow with
                    an incomplete condition, so you can finish building the flow
                    later. This value is available in API version 58.0 and
                    later.
                  </li>

                  <li class="li"><samp class="codeph nolang">NotEqualTo</samp></li>

                  <li class="li">
                    <samp class="codeph nolang">NotIn</samp>— This value is
                    available in API version 56.0 and later.
                  </li>

                  <li class="li"><samp class="codeph nolang">StartsWith</samp></li>

                  <li class="li">
                    <samp class="codeph nolang">ThisYear</samp>—Returns
                    <samp class="codeph nolang">true</samp> if the date
                    value falls within the current calendar year. This value is
                    available in API version 67.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">WasSelected</samp>— Requires a
                    choice on the left side.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">WasSet</samp>— This value is
                    available in API version 30.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">WasVisited</samp>— Requires a
                    node on the left side.
                  </li>

                </ul>
                See <a class="xref" href="https://help.salesforce.com/s/articleView?id=platform.flow_ref_operators.htm&amp;language=en_US" target="_blank">Flow Operators</a>.
              </td>

            </tr>

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

              <td class="entry" headers="d950606e7791" data-title="Field Type"><a class="xref" href="#FlowElementReferenceOrValue">FlowElementReferenceOrValue</a></td>

              <td class="entry" headers="d950606e7794" data-title="Description">Unique name of an element or the actual value, such as text or a
                number, for the right side of the condition expression.</td>

            </tr>

          </tbody>

        </table>

## FlowDataLookup

Defines a data lookup in the flow's Start element. It extends [FlowElement](#FlowElement) and inherits all its fields. This metadata type is available in API version 68.0 and later.

| Field Name | Field Type | Description |
| --- | --- | --- |
| lookupField | string | Required. The field on the object specified by sourceApiName to use for the lookup join. |
| lookupReference | string | Required. A reference expression for the lookup relationship from the primary record. |
| sourceApiName | string | Required. The API name of the object on which the data lookup is defined. |
| sourceType | string | Required. The type of the object specified by sourceApiName. Valid value is DataModelObject. |

## FlowCustomProperty

Defines the name and value of a custom property in a flow. This metadata type is available in API version 63.0 and later.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e8369" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e8372" data-title="Description">Required. Unique name for the custom property associated with the
                flow.</td>


            </tr>

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

              <td class="entry" headers="d950606e8369" data-title="Field Type"><a class="xref" href="#FlowElementReferenceOrValue">FlowElementReferenceOrValue</a></td>

              <td class="entry" headers="d950606e8372" data-title="Description">Defines the value of the custom property associated with the
                flow. When the FlowCustomProperty’s name is set to<samp class="codeph nolang"> ScreenProgressIndicator</samp>, valid
                values are: <ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">“Location":"Top","Type":"Simple”</samp></li>

                  <li class="li"><samp class="codeph nolang">"Location":"Footer","Type":"Simple"</samp></li>

                  <li class="li"><samp class="codeph nolang">"Location":"Top","Type":"Path”</samp></li>

                </ul>
              </td>

            </tr>

          </tbody>

        </table>

## FlowConnector

Connectors determine the order in which the nodes of the flow are executed. A connector defines and links to the subsequent node. It extends [FlowBaseElement](#FlowBaseElement) and inherits all its fields.

| Field Name | Field Type | Description |
| --- | --- | --- |
| isGoTo | boolean | Make the connector a Go To Connector by setting this value to true. The default value is false. This value is available in API version 53.0 and later. See [Flow Connectors](https://help.salesforce.com/s/articleView?id=platform.flow_ref_connectors.htm&type=5&language=en_US). |
| targetReference | string | Required. Which node to execute after completing the current node. |

## FlowCollectionMapItem

Defines the rule to assign a value to the field reference. This metadata type is available in API version 51.0 and later.

| Field Name | Field Type | Description |
| --- | --- | --- |
| assignToFieldReference | string | Required. Specifies the reference to the field to which the specified operator is applied. |
| operator | [FlowAssignmentOperator](#FlowAssignmentOperator) (enumeration of type string) | Required. Applies to the variable reference in the assignToFieldReference field. |
| value | [FlowElementReferenceOrValue](#FlowElementReferenceOrValue) | Required. Defines the value that the operator applies to the variable reference in the assignToFieldReference field. |

## FlowDataTypeMapping

This data type mapping defines the specific sObject data type for input and out values that have the generic sObject data type. It extends [FlowBaseElement](#FlowBaseElement) and inherits all its fields. This metadata type is available in API version 48.0 and later.

| Field Name | Field Type | Description |
| --- | --- | --- |
| apexClass | string | The name of the Apex class. This field is available in API version 61.0 and later. |
| typeName | string | Required. API name of the input or output variable. The T\_\_ prefix is required for input variables. The U\_\_ prefix is required for output variables. For example, T\_\_inputCollection represents the API name of the input variable inputCollection. |
| typeValue | string | API name of the specific sObject data type that this value maps to. For example, Account. |

## FlowConstant

A constant resource defines a fixed value that can be used throughout your flow. It extends [FlowElement](#FlowElement) and inherits all its fields.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e8723" data-title="Field Type">FlowDataType (enumeration of type string)</td>

              <td class="entry" headers="d950606e8726" data-title="Description">Required. Valid types are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">Currency</samp></li>

                  <li class="li"><samp class="codeph nolang">Date</samp></li>

                  <li class="li"><samp class="codeph nolang">Number</samp></li>

                  <li class="li"><samp class="codeph nolang">String</samp></li>

                  <li class="li"><samp class="codeph nolang">Boolean</samp></li>

                  <li class="li"><samp class="codeph nolang">Time</samp></li>

                </ul>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e8723" data-title="Field Type"><a class="xref" href="#FlowElementReferenceOrValue">FlowElementReferenceOrValue</a></td>

              <td class="entry" headers="d950606e8726" data-title="Description">Default value of the constant. This field can’t have merge
                fields, nor can it reference another resource besides
                <span class="keyword parmname">$GlobalConstant.EmptyString</span>.
              </td>

            </tr>

          </tbody>

        </table>

## FlowDecision

A node that evaluates a set of rules and routes the flow execution based on the first rule that evaluates to true. It extends [FlowNode](#FlowNode) and inherits all its fields.

| Field Name | Field Type | Description |
| --- | --- | --- |
| attributes | [FlowAttribute](#FlowAttribute)\[\] | An array of attributes for the decision. This field is available in API version 65.0 and later. |
| defaultConnector | [FlowConnector](#FlowConnector) | Specifies which node to execute if none of the rules evaluate to true. |
| defaultConnectorLabel | string | Label for the default connector. |
| rules | [FlowRule](#FlowRule)\[\] | An array of rules for the decision. The rules are evaluated in the order that they’re listed, and the connector of the first true rule is used. If no rules are true, then the default connector is used. In Flow Builder, rules are referred to as decision outcomes. |

## FlowAttribute

Defines an attribute that's shared across multiple Flow metadata subtypes. Available in API version 65.0 and later.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e8923" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e8926" data-title="Description">The value of the flow attribute.</td>

            </tr>

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

              <td class="entry" headers="d950606e8923" data-title="Field Type">FlowAttributeType (enumeration of type string)</td>

              <td class="entry" headers="d950606e8926" data-title="Description">Specifies the type of the flow attribute value. Valid values are:<ul class="ul bulletList">
                  <li class="li">LlmDescription</li>

                  <li class="li">LlmPrompt</li>

                </ul>
              </td>

            </tr>

          </tbody>

        </table>

## FlowDynamicChoiceSet

Retrieves data or metadata from an object and dynamically generates a set of choices at run time. It extends [FlowElement](#FlowElement) and inherits all its fields. Depending on the fields that are set, this element represents a record choice or a picklist choice.

- A record choice dynamically generates choices based on records that meet specified filter criteria. If a dynamic choice doesn’t have the picklistField and picklistObject parameters set, it’s a record choice and it can’t have a data type of Picklist or Multipicklist.
- A picklist choice dynamically generates choices based on the available values for a picklist or multi-select picklist field. If a dynamic choice has the picklistField and picklistObject parameters set, it’s a picklist choice and it must have a data type of Picklist or Multipicklist.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e9039" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e9042" data-title="Description">The collection that’s used to generate choices. This field is
                available in API version 54.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e9039" data-title="Field Type">FlowDataType (enumeration of type string)</td>

              <td class="entry" headers="d950606e9042" data-title="Description">Required. Valid types are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">Boolean</samp></li>

                  <li class="li"><samp class="codeph nolang">Currency</samp></li>

                  <li class="li"><samp class="codeph nolang">Date</samp></li>

                  <li class="li">
                    <samp class="codeph nolang">Multipicklist</samp>—Picklist
                    choices only
                  </li>

                  <li class="li"><samp class="codeph nolang">Number</samp></li>

                  <li class="li">
                    <samp class="codeph nolang">Picklist</samp>—Picklist
                    choices only
                  </li>

                  <li class="li"><samp class="codeph nolang">Record</samp></li>

                  <li class="li"><samp class="codeph nolang">String</samp></li>

                  <li class="li"><samp class="codeph nolang">Time</samp></li>

                </ul>
                <p class="p"><span class="keyword parmname">Picklist</span> and
                  <span class="keyword parmname">Multipicklist</span> are available in API
                  version 35.0 and later. <span class="keyword parmname">Record</span> is available
                  in API version 54.0 and later.
                </p>

              </td>

            </tr>

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

              <td class="entry" headers="d950606e9039" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e9042" data-title="Description">Required for record choices. Specifies the object field. The
                values of the object field are displayed to the user as choice
                labels for selecting a record.<p class="p">For example, for an account, if you
                  want the dynamically generated choices to be displayed as the
                  account names from the records that are retrieved from the
                  database, specify <samp class="codeph nolang">Name</samp> in
                  <span class="keyword parmname">displayField</span>.
                </p>
                <p class="p">Not supported for
                  picklist choices. Picklist choices always display the labels for
                  the retrieved picklist values.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e9039" data-title="Field Type">
                <a class="xref" href="#FlowRecordFilter">FlowRecordFilter</a>[]
              </td>

              <td class="entry" headers="d950606e9042" data-title="Description">An array of filters to apply to the records retrieved from the
                database. For example, filter accounts to include only the accounts
                that were created in the past three months.<p class="p">Not supported for
                  picklist choices.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e9036" data-title="Field Name"><span class="keyword parmname" id="field_limit_name"><a name="field_limit_name"><!-- --></a>limit</span></td>

              <td class="entry" headers="d950606e9039" data-title="Field Type">int</td>

              <td class="entry" headers="d950606e9042" data-title="Description">
                <span class="ph" id="field_limit_desc"><a name="field_limit_desc"><!-- --></a>Maximum number of choices to include in
                  the generated set of choices. Maximum and default:
                  200.</span>
                <p class="p">If <span class="keyword parmname">sortField</span> and
                  <span class="keyword parmname">sortOrder</span> are also specified, the
                  records are sorted before the <span class="keyword parmname">limit</span> takes
                  effect.
                </p>
                <p class="p">This field is available in API version 25.0 and
                  later.</p>
                <p class="p">This field is nillable in API version 45.0 and
                  later.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e9039" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e9042" data-title="Description">Required for record choices. The object whose fields you want to
                retrieve from the database and use to generate the set of choices.
                For example, use “Account” to dynamically generate choices from the
                information in account records in the database.<p class="p">Not supported for
                  picklist choices.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e9039" data-title="Field Type">
                <a class="xref" href="#FlowOutputFieldAssignment">FlowOutputFieldAssignment</a>[]
              </td>

              <td class="entry" headers="d950606e9042" data-title="Description">An array that assigns fields from the user-selected record to
                variables that can be used elsewhere in the flow. For example, when
                the user selects an account name from the dynamically generated list
                of choice options, outputAssignments can assign the ID and
                AnnualRevenue from the user-selected account to variables that you
                specify.<p class="p">Not supported for picklist choices.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e9036" data-title="Field Name"><span class="keyword parmname" id="picklistField_name"><a name="picklistField_name"><!-- --></a>picklistField</span></td>

              <td class="entry" headers="d950606e9039" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e9042" data-title="Description">
                <span class="ph" id="picklistField_desc"><a name="picklistField_desc"><!-- --></a>Required for picklist choices. The
                  field whose available values you want to retrieve from the
                  database and use to generate the picklist choice. For example,
                  use “Industry” to dynamically generate one choice for each
                  available value on the Industry picklist field.</span>
                <p class="p">Not supported for record choices.</p>
                <p class="p">This field is available
                  in API version 35.0 and later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e9036" data-title="Field Name"><span class="keyword parmname" id="picklistObject_name"><a name="picklistObject_name"><!-- --></a>picklistObject</span></td>

              <td class="entry" headers="d950606e9039" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e9042" data-title="Description">
                <span class="ph" id="picklistObject_desc"><a name="picklistObject_desc"><!-- --></a>Required for picklist choices. The
                  object whose field metadata you want to retrieve from the
                  database and use to generate the picklist choice. For example,
                  use “Account” to dynamically generate choices from a picklist
                  field on the Account object.</span>
                <p class="p">Not supported for record
                  choices.</p>
                <p class="p">This field is available in API version 35.0 and
                  later. </p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e9036" data-title="Field Name"><span class="keyword parmname" id="field_sortField_name"><a name="field_sortField_name"><!-- --></a>sortField</span></td>

              <td class="entry" headers="d950606e9039" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e9042" data-title="Description">
                <span class="ph" id="field_sortField_desc"><a name="field_sortField_desc"><!-- --></a>Field that’s used for sorting
                  records that meet the filter criteria. If this field isn’t
                  specified, the returned records aren’t sorted.</span>
                <p class="p"><span class="ph" id="field_sortField_sortable"><a name="field_sortField_sortable"><!-- --></a>You can only sort records by
                    fields that have the <span class="keyword parmname">Sort</span> API field
                    property, as specified in <a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.264.0.api.meta/api/" target="_blank" title="HTML (New Window)">SOAP
                      API</a>.</span></p>
                <p class="p">Not supported for picklist
                  choices.</p>
                <p class="p">This field is available in API version 25.0 and
                  later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e9036" data-title="Field Name"><span class="keyword parmname" id="field_sortOrder_name"><a name="field_sortOrder_name"><!-- --></a>sortOrder</span></td>

              <td class="entry" headers="d950606e9039" data-title="Field Type">SortOrder (enumeration of type string)</td>

              <td class="entry" headers="d950606e9042" data-title="Description">
                <span class="ph" id="field_sortOrder_desc"><a name="field_sortOrder_desc"><!-- --></a>Order in which to sort the records.
                  If this field isn’t specified, then the results aren’t
                  sorted.</span>
                <p class="p" id="field_sortOrder_values"><a name="field_sortOrder_values"><!-- --></a>Valid values are:</p>
                <ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">Asc</samp>—Ascending
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Desc</samp>—Descending
                  </li>

                </ul>
                <p class="p">Not supported for picklist choices.</p>
                <p class="p">This field is
                  available in API version 25.0 and later.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e9039" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e9042" data-title="Description">Stored value for the choice, which can differ from what is
                displayed to the user as the choice options
                (<span class="keyword parmname">displayField</span>). For example, the
                <span class="keyword parmname">displayField</span> could be the account “Name”
                while the valueField is the account “Id.”<p class="p">Not supported for
                  picklist choices. Picklist choices always store the API value
                  for the retrieved picklist values.</p>
              </td>

            </tr>

          </tbody>

        </table>

## FlowElement

Base class for all flow elements. This class is an abstract class. It extends [FlowBaseElement](#FlowBaseElement) and inherits all its fields.

| Field Name | Field Type | Description |
| --- | --- | --- |
| description | string | Description of the flow element. |
| name | string | Unique name of the flow element. |

## FlowElementReferenceOrValue

Defines a reference to an existing element or a particular value that you specify. Make sure that you specify only _one_ of the fields.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e9451" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e9454" data-title="Description">Use this field to specify a JSON response value of an
                Apex-defined record. Use this field only for
                <span class="keyword parmname">FlowScreenFieldInputParameter</span> and
                <span class="keyword parmname">FlowActionCallInputParameter</span>. If you want
                to specify a different data type or element reference, don’t use
                this field.
              </td>

            </tr>

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

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

              <td class="entry" headers="d950606e9454" data-title="Description">Use this field to specify a boolean value. If you want to specify
                a different data type or element reference, don’t use this
                field.</td>

            </tr>

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

              <td class="entry" headers="d950606e9451" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e9454" data-title="Description">When <span class="keyword parmname">complexValueType</span> is specified, use this
                field to specify flow resources and fields in the data structure.
                Use these fields to describe the data structure: <a name="ul_rq3_p44_1fc"><!-- --></a>
                <ul class="ul bulletList" id="ul_rq3_p44_1fc">
                  <li class="li">
                    <samp class="codeph nolang">fieldReference</samp>—The list
                    of field API names.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">objectType</samp>—The object
                    type, sObject or Apex.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">type</samp>—The API name of
                    the sObject or Apex class.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">elementReference</samp>—The
                    API name of the flow resource that contains the list of
                    fields specified in <samp class="codeph nolang">fieldReference</samp>.
                  </li>

                </ul>
                This field is available in API version 63.0 and later.
              </td>

            </tr>

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

              <td class="entry" headers="d950606e9451" data-title="Field Type"> FlowComplexValueType (enumeration of type string)</td>

              <td class="entry" headers="d950606e9454" data-title="Description">Use this field to specify the type of data structure to
                reference. Valid values are:<a name="ul_gkt_14t_tdc"><!-- --></a>
                <ul class="ul bulletList" id="ul_gkt_14t_tdc">
                  <li class="li">
                    <samp class="codeph nolang">ComplexObjectFieldDetails</samp>—Use when referencing
                    a field and need the label and type in addition to the API
                    name.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">JoinDefinition</samp>—When
                    <samp class="codeph nolang">InnerJoin</samp> is
                    specified in <span class="keyword parmname">transformType</span>, indicates
                    flow resources for source and target collections, join keys,
                    selected fields to join. and field mappings in a join
                    transformation. <samp class="codeph nolang">JoinDefinition</samp> isn't a valid value for <a class="xref" href="#FlowInlineTransform">FlowInlineTransform</a>.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">FieldReference</samp>—Use this
                    field to define the flow resource and its fields referenced
                    in the flow.
                  </li>

                </ul>
                This field is available in API version 63.0 and later. Use
                <span class="keyword parmname">complexValue</span> to specify the data
                structure.
              </td>

            </tr>

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

              <td class="entry" headers="d950606e9451" data-title="Field Type">dateTime</td>

              <td class="entry" headers="d950606e9454" data-title="Description">Use this field to specify a dateTime value. If you want to
                specify a different data type or element reference, don’t use this
                field. This field is available in API version 30.0 and
                later.</td>

            </tr>

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

              <td class="entry" headers="d950606e9451" data-title="Field Type">date</td>

              <td class="entry" headers="d950606e9454" data-title="Description">Use this field to specify a date value. If you want to specify a
                different data type or element reference, don’t use this
                field.</td>

            </tr>

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

              <td class="entry" headers="d950606e9451" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e9454" data-title="Description">Use this field to specify the name of an existing flow resource.
                If you want to specify a value instead of an element reference,
                don’t use this field.</td>

            </tr>

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

              <td class="entry" headers="d950606e9451" data-title="Field Type">FlowDataType (enumeration of type string)</td>

              <td class="entry" headers="d950606e9454" data-title="Description">Use this field to specify the formula result’s data type of the
                transformed data. Corresponds to the target data field in Flow
                Builder. This field requires the
                <span class="keyword parmname">formulaExpression</span> field. This field is
                available in API version 59.0 and later. See <a class="xref" href="#FlowTransform">FlowTransform</a>
                <p class="p">Valid values are:</p>
                <a name="ul_tzf_dmw_xcc"><!-- --></a>
                <ul class="ul bulletList" id="ul_tzf_dmw_xcc">
                  <li class="li"><samp class="codeph nolang">Apex</samp></li>

                  <li class="li"><samp class="codeph nolang">Boolean</samp></li>

                  <li class="li"><samp class="codeph nolang">Currency</samp></li>

                  <li class="li"><samp class="codeph nolang">Date</samp></li>

                  <li class="li"><samp class="codeph nolang">DateTime</samp></li>

                  <li class="li"><samp class="codeph nolang">Number</samp></li>

                  <li class="li"><samp class="codeph nolang">String</samp></li>

                  <li class="li">
                    <samp class="codeph nolang">sObject</samp>—This value
                    corresponds to a record variable.
                  </li>

                  <li class="li"><samp class="codeph nolang">Time</samp></li>

                </ul>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e9451" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e9454" data-title="Description">Use this field to specify the formula expression that transforms
                the data in the flow. In Flow Builder, it corresponds to the target
                data field in the Transform element. This field requires the
                <span class="keyword parmname">formulaDataType</span> field. This field is
                available in API version 59.0 and later. See <a class="xref" href="#FlowTransform">FlowTransform</a>.
              </td>

            </tr>

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

              <td class="entry" headers="d950606e9451" data-title="Field Type">double</td>

              <td class="entry" headers="d950606e9454" data-title="Description">Use this field to specify a double value. If you want to specify
                a different data type or element reference, don’t use this
                field.</td>

            </tr>

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

              <td class="entry" headers="d950606e9451" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e9454" data-title="Description">Use this field to specify the name of an existing setup
                reference. Required for Omni-Channel elements. If you want to
                specify a value instead of a setup reference, don’t use this field.
                Required when <span class="keyword parmname">setupReferenceType</span> is
                specified.</td>

            </tr>

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

              <td class="entry" headers="d950606e9451" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e9454" data-title="Description">Use this field to specify the type of setup reference. Required
                when setupReference is specified.</td>

            </tr>

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

              <td class="entry" headers="d950606e9451" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e9454" data-title="Description">Use this field to specify a JSON response value of an sObject
                record. Use this field only for
                <span class="keyword parmname">FlowScreenFieldInputParameter</span> and
                <span class="keyword parmname">FlowActionCallInputParameter</span>. If you want
                to specify a different data type or element reference, don’t use
                this field.
              </td>

            </tr>

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

              <td class="entry" headers="d950606e9451" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e9454" data-title="Description">Use this field to specify a string value. If you want to specify
                a different data type or element reference, don’t use this
                field.<p class="p">When the <a class="xref" href="#FlowMetadataValue">FlowMetadataValue</a>'s
                  <span class="keyword parmname">name</span> field is set to <samp class="codeph nolang">SendNoApproverEmails</samp>, valid
                  values are <samp class="codeph nolang">true</samp> or <samp class="codeph nolang">false</samp> and are
                  case-insensitive.
                </p>
                <p class="p">When the <a class="xref" href="#FlowMetadataValue">FlowMetadataValue</a>'s
                  <span class="keyword parmname">name</span> field is set to <samp class="codeph nolang">BuilderType</samp> or <samp class="codeph nolang">OriginalBuilderType</samp>, the valid
                  value is <samp class="codeph nolang">LightningFlowBuilder</samp>. The value is reserved for
                  internal use.
                </p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e9451" data-title="Field Type"><a class="xref" href="#FlowInlineTransform">FlowInlineTransform</a></td>

              <td class="entry" headers="d950606e9454" data-title="Description">Use this field to specify a value for an inline data
                transformation. This field is available in API version 62.0 and
                later.</td>

            </tr>

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

              <td class="entry" headers="d950606e9451" data-title="Field Type">string</td>

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

            </tr>

          </tbody>

        </table>

## FlowEnd

Marks where a path in a flow ends. Corresponds to the End element in Flow Builder. Available only in flows that use the Auto-Layout canvas.

FlowEnd extends [FlowNode](#FlowNode) and inherits all its fields. This metadata type is available in API version 68.0 and later.

If a flow has 1 or more End elements, every path in the flow must end with an End element.

## FlowExitRule

Defines the conditions and logic that enables an exit rule to evaluate to true. It extends [FlowElement](#FlowElement) and inherits all of its fields. This metadata type is available in API version 62.0 and later.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e9896" data-title="Field Type">
                <a class="xref" href="#FlowCondition">FlowCondition</a>[]
              </td>

              <td class="entry" headers="d950606e9899" data-title="Description">An array of conditions for the exit rule.</td>

            </tr>

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

              <td class="entry" headers="d950606e9896" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e9899" data-title="Description">
                <p class="p">Required. Label for the exit rule.</p>

              </td>

            </tr>

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

              <td class="entry" headers="d950606e9896" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e9899" data-title="Description">Required. Logical operator in conditions for the exit rule. Valid
                values are:<a name="ul_j5c_2mw_xcc"><!-- --></a>
                <ul class="ul bulletList" id="ul_j5c_2mw_xcc">
                  <li class="li">
                    <samp class="codeph nolang">and</samp>—Evaluates to
                    <samp class="codeph nolang">true</samp> only if all
                    its conditions evaluate to true
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">or</samp>—Evaluates to <samp class="codeph nolang">true</samp> if any of its
                    conditions evaluate to true
                  </li>

                </ul>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e9896" data-title="Field Type">int</td>

              <td class="entry" headers="d950606e9899" data-title="Description">Indicates how the exit rule is ordered against other exit rules.
                The <span class="keyword parmname">ruleOrder</span> value must be unique within the
                flow.</td>

            </tr>

          </tbody>

        </table>

## FlowExperiment

A node that routes the flow execution based on a specified experiment distribution percentage. It extends [FlowNode](#FlowNode) and inherits all its fields. This metadata type is available in API version 61.0 and later.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e10018" data-title="Field Type">int</td>

              <td class="entry" headers="d950606e10021" data-title="Description">The amount of time that the experiment runs. This field is
                available in API version 64.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e10018" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e10021" data-title="Description">The unit of measurement for experiment duration. Valid values
                are:<a name="ul_zmd_wr2_p2c"><!-- --></a>
                <ul class="ul bulletList" id="ul_zmd_wr2_p2c">
                  <li class="li">Minutes</li>

                  <li class="li">Hours</li>

                  <li class="li">Days</li>

                  <li class="li">Weeks</li>

                  <li class="li">Months</li>

                </ul>
                This field is available in API version 64.0 and later.
              </td>

            </tr>

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

              <td class="entry" headers="d950606e10018" data-title="Field Type">
                <a class="xref" href="#FlowExperimentPath">FlowExperimentPath</a>[]
              </td>

              <td class="entry" headers="d950606e10021" data-title="Description">An array of flow experiment paths.</td>

            </tr>

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

              <td class="entry" headers="d950606e10018" data-title="Field Type">int</td>

              <td class="entry" headers="d950606e10021" data-title="Description">Specifies the distribution percentage of the test group. A valid
                number in the range 0-99. This field is available in API version
                64.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e10018" data-title="Field Type">FlowExperimentType</td>

              <td class="entry" headers="d950606e10021" data-title="Description">Required. The type of experiment. Valid value is:<a name="ul_llp_d4w_xcc"><!-- --></a>
                <ul class="ul bulletList" id="ul_llp_d4w_xcc">
                  <li class="li">Random</li>

                </ul>
              </td>

            </tr>

          </tbody>

        </table>

## FlowExperimentPath

Defines an experiment path. It extends [FlowElement](#FlowElement) and inherits all its fields. This metadata type is available in API version 61.0 and later.

| Field Name | Field Type | Description |
| --- | --- | --- |
| connector | [FlowConnector](#FlowConnector) | Specifies which node to execute after this experiment path. |
| label | string | Required. Label for the path. |
| percentage | int | Required. The distribution percentage for this path. |

## FlowFormula

Calculates a value using functions and elements in the flow. It extends [FlowElement](#FlowElement) and inherits all its fields.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e10236" data-title="Field Type">FlowDataType (enumeration of type string)</td>

              <td class="entry" headers="d950606e10239" data-title="Description">
                <span class="ph" id="formula_datatype_desc"><a name="formula_datatype_desc"><!-- --></a>The data type for the
                  formula.</span>
                <span class="ph" id="formula_datatype_desc2"><a name="formula_datatype_desc2"><!-- --></a>Valid values are:</span><a name="formula_datatype_desc3"><!-- --></a>
                <ul class="ul bulletList" id="formula_datatype_desc3">
                  <li class="li"><samp class="codeph nolang">Boolean</samp></li>

                  <li class="li"><samp class="codeph nolang">Currency</samp></li>

                  <li class="li"><samp class="codeph nolang">Date</samp></li>

                  <li class="li"><samp class="codeph nolang">DateTime</samp></li>

                  <li class="li"><samp class="codeph nolang">Number</samp></li>
                  <li class="li"><samp class="codeph nolang">String</samp></li>

                  <li class="li"><samp class="codeph nolang">Time</samp></li>

                </ul>
                <p class="p"><span class="keyword parmname">dataType</span> defaults to <samp class="codeph nolang">Number</samp> if it isn’t defined in a
                  formula.</p>
                <p class="p">This field is available in API version 31.0 and
                  later.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e10236" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e10239" data-title="Description">Required. Salesforce formula expression. The return value must
                match the data type. For API version 30.0 and earlier, the return
                value must be numeric.</td>

            </tr>

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

              <td class="entry" headers="d950606e10236" data-title="Field Type">int</td>

              <td class="entry" headers="d950606e10239" data-title="Description">Scale of the return value, specifically, the number of digits to
                the right of the decimal point. Available only when the data type is
                Number or Currency. Corresponds to the Decimal Places field in Flow
                Builder.</td>

            </tr>

          </tbody>

        </table>

## FlowIcon

Allows a resource to include an icon. This metadata type is available in API version 64.0 and later.

| Field Name | Field Type | Description |
| --- | --- | --- |
| iconName | String | The name of the selected Salesforce Lightning Design System icon. This field is available in API version 64.0 and later. |

## FlowInlineTransform

Specifies how to transform source data to target data in an Action element within a flow. This metadata type is available in API version 62.0 and later.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e10411" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e10414" data-title="Description">The Apex class of the target data after transformation if its
                data type is <samp class="codeph nolang">Apex</samp>.</td>

            </tr>

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

              <td class="entry" headers="d950606e10411" data-title="Field Type">FlowDataType (enumeration of type string)</td>

              <td class="entry" headers="d950606e10414" data-title="Description">Required. Specifies the data type of the transformed data. In
                Flow Builder, it corresponds to the target data. Valid types are:<a name="ul_f2d_212_mgc"><!-- --></a>
                <ul class="ul bulletList" id="ul_f2d_212_mgc">
                  <li class="li"><samp class="codeph nolang">Apex</samp></li>

                  <li class="li"><samp class="codeph nolang">Boolean</samp></li>

                  <li class="li"><samp class="codeph nolang">Currency</samp></li>

                  <li class="li"><samp class="codeph nolang">Date</samp></li>

                  <li class="li"><samp class="codeph nolang">DateTime</samp></li>

                  <li class="li"><samp class="codeph nolang">Multipicklist</samp></li>

                  <li class="li"><samp class="codeph nolang">Number</samp></li>

                  <li class="li"><samp class="codeph nolang">Picklist</samp></li>

                  <li class="li">
                    <samp class="codeph nolang">sObject</samp>—This value
                    corresponds to a record variable.
                  </li>

                  <li class="li"><samp class="codeph nolang">String</samp></li>

                  <li class="li"><samp class="codeph nolang">Time</samp></li>

                </ul>
              </td>

            </tr>

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

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

              <td class="entry" headers="d950606e10414" data-title="Description">Indicates whether the variable is a collection of values. The
                default value is <samp class="codeph nolang">false</samp>.</td>

            </tr>

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

              <td class="entry" headers="d950606e10411" data-title="Field Type">
                <a class="xref" href="#FlowTransformValue">FlowTransformValue</a>[]
              </td>

              <td class="entry" headers="d950606e10414" data-title="Description">An array of values for data transformation.</td>

            </tr>

          </tbody>

        </table>

## FlowInputFieldAssignment

Assigns the value for a record field based on a resource or static value. It extends [FlowBaseElement](#FlowBaseElement) and inherits all its fields.

| Field Name | Field Type | Description |
| --- | --- | --- |
| field | string | Required. The name of the field to assign a value to when a record is created or updated. |
| value | [FlowElementReferenceOrValue](#FlowElementReferenceOrValue) | The value to assign to the field. |

## FlowInputValidationRule

Validation rules verify that the data entered by the user meets the specified requirements. If the validation rule evaluates to false, then the specified error message is displayed.

| Field Name | Field Type | Description |
| --- | --- | --- |
| errorMessage | string | Required. The error message to display when formulaExpression is false. |
| formulaExpression | string | Required. A formula that’s used to validate the user input. |

## FlowLoop

A construct for iterating through a collection. It extends [FlowNode](#FlowNode) and inherits all its fields. FlowLoop is available in API version 30.0 and later.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e10707" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e10710" data-title="Description">The variable that’s assigned to the current value in the
                collection before navigating to the target of
                <span class="keyword parmname">nextValueConnector</span>.
              </td>

            </tr>

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

              <td class="entry" headers="d950606e10707" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e10710" data-title="Description">The collection being looped through.</td>

            </tr>

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

              <td class="entry" headers="d950606e10707" data-title="Field Type">iterationOrder (enumeration of type string)</td>

              <td class="entry" headers="d950606e10710" data-title="Description">Valid values are:<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">Asc</samp>—Iterate through the
                    collection in the order the values are listed (first to
                    last).
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Desc</samp>—Iterate through
                    the collection in the reverse order the values are listed
                    (last to first).
                  </li>

                </ul>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e10707" data-title="Field Type"><a class="xref" href="#FlowConnector">FlowConnector</a></td>

              <td class="entry" headers="d950606e10710" data-title="Description">A reference to the next element in the collection.</td>

            </tr>

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

              <td class="entry" headers="d950606e10707" data-title="Field Type"><a class="xref" href="#FlowConnector">FlowConnector</a></td>

              <td class="entry" headers="d950606e10710" data-title="Description">The element to navigate to when all entries in the collection
                have been iterated through.</td>

            </tr>

          </tbody>

        </table>

## FlowMetadataValue

Defines contextual information that can be passed between elements in a flow. Flow metadata values can be used in an application that produces or consumes flows. FlowMetadataValue is available in API version 31.0 and later.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e10833" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e10836" data-title="Description">Required. Name for the metadata value. This name doesn’t need to
                be unique across all elements. <p class="p">To specify that a flow approval
                  process send no email notifications to approvers, use
                  SendNoApproverEmails .</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e10833" data-title="Field Type"><a class="xref" href="#FlowElementReferenceOrValue">FlowElementReferenceOrValue</a></td>

              <td class="entry" headers="d950606e10836" data-title="Description">Reference or value for the metadata value.</td>

            </tr>

          </tbody>

        </table>

## FlowNode

A node is a type of element that’s visible in the flow diagram. It extends [FlowElement](#FlowElement) and inherits all its fields.

| Field Name | Field Type | Description |
| --- | --- | --- |
| elementSubtype | FlowElementSubtype (enumeration of type string) | Reserved for internal use. |
| group | string | Name of the group that the node belongs to. Available in API version 68.0 and later. |
| label | string | Name of the node. This non-unique label is different from the unique name of the node, which is inherited from [FlowElement](#FlowElement). |
| locationX | int | Required. Horizontal location of the node, in pixels from the left. In API version 64.0 and later, if a flow is saved in auto-layout, this field is set to 0. |
| locationY | int | Required. Vertical location of the node, in pixels from the top. In API version 64.0 and later, if a flow is saved in auto-layout, this field is set to 0. |

## FlowNodeGroup

A group of flow nodes for organizational purposes. It extends FlowNode and inherits all its fields. This metadata type is available in API version 68.0 and later.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e11022" data-title="Field Type"><a class="xref" href="#FlowConnector">FlowConnector</a></td>

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

            </tr>

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

              <td class="entry" headers="d950606e11022" data-title="Field Type">GroupType (enumeration of type string)</td>

              <td class="entry" headers="d950606e11025" data-title="Description">Required. Type of group. Valid values are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">generic</samp></li>

                </ul>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e11022" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e11025" data-title="Description">Connector branch that the group is on. Valid values depend on the
                <span class="keyword parmname">sourceReference</span> value:<ul class="ul bulletList">
                  <li class="li">Start (immediate path): <samp class="codeph nolang">immediate</samp>
                  </li>

                  <li class="li">Start (scheduled path): The API name of the path.</li>

                  <li class="li">Standard element: <samp class="codeph nolang">regular</samp>
                  </li>

                  <li class="li">Decision (outcome): The API name of the outcome.</li>

                  <li class="li">Decision (default path): <samp class="codeph nolang">default</samp>
                  </li>

                  <li class="li">Loop (for each item): <samp class="codeph nolang">forEach</samp>
                  </li>

                  <li class="li">Loop (after last item): <samp class="codeph nolang">noMoreValues</samp>
                  </li>

                  <li class="li">Fault path: <samp class="codeph nolang">fault</samp>
                  </li>

                </ul>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e11022" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e11025" data-title="Description">Name of the node immediately preceding the group. If the
                preceding node is the Start element, use <samp class="codeph nolang">__Start</samp>.</td>

            </tr>

          </tbody>

        </table>

## FlowOrchestratedStage

A stage node that contains steps in an orchestration. It extends [FlowNode](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/meta_visual_workflow.htm#FlowNode) and inherits all its fields. This metadata type is available in API version 53.0 and later.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e11172" data-title="Field Type"><a class="xref" href="#FlowConnector">FlowConnector</a></td>

              <td class="entry" headers="d950606e11175" data-title="Description">Specifies which node to execute after this stage.</td>

            </tr>

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

              <td class="entry" headers="d950606e11172" data-title="Field Type">
                <a class="xref" href="#subtype_FlowStageStepExitActionInputParameter">FlowStageStepExitActionInputParameter</a>[]
              </td>

              <td class="entry" headers="d950606e11175" data-title="Description">An array of input parameters from the stage to the evaluation
                flow. These parameters specify an exit condition for the
                stage.</td>

            </tr>

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

              <td class="entry" headers="d950606e11172" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e11175" data-title="Description">The name of the evaluation flow used as an exit condition for the
                stage.</td>

            </tr>

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

              <td class="entry" headers="d950606e11172" data-title="Field Type">
                <a class="xref" href="#subtype_FlowStageStepExitActionOutputParameter">FlowStageStepExitActionOutputParameter</a>[]
              </td>

              <td class="entry" headers="d950606e11175" data-title="Description">An array of output parameters from the evaluation flow to the
                stage. These parameters specify an exit condition for the
                stage.</td>

            </tr>

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

              <td class="entry" headers="d950606e11172" data-title="Field Type">InvocableActionType (enumeration of type string)</td>

              <td class="entry" headers="d950606e11175" data-title="Description">The type of the evaluation flow for the custom exit condition.
                Valid values are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">EvaluationFlow</samp></li>

                  <li class="li">
                    <p class="p">This value is available in API version 61.0 and
                      later.</p>

                  </li>

                </ul>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e11172" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e11175" data-title="Description">Defines how the stage exit conditions are evaluated. Valid values are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">And</samp></li>

                  <li class="li"><samp class="codeph nolang">Or</samp></li>

                  <li class="li"><samp class="codeph nolang">Custom logic, such as (1 AND (2
                      OR 3))</samp></li>

                  <li class="li"><samp class="codeph nolang">Formula</samp></li>

                </ul>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e11172" data-title="Field Type">
                <a class="xref" href="#FlowCondition">FlowCondition</a>[]
              </td>

              <td class="entry" headers="d950606e11175" data-title="Description">An array of requirements that must be met to exit the
                stage.</td>

            </tr>

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

              <td class="entry" headers="d950606e11172" data-title="Field Type"><a class="xref" href="#FlowConnector">FlowConnector</a></td>

              <td class="entry" headers="d950606e11175" data-title="Description">Not used.</td>

            </tr>

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

              <td class="entry" headers="d950606e11172" data-title="Field Type">
                <a class="xref" href="#subtype_FlowStageStep">FlowStageStep</a>[]
              </td>

              <td class="entry" headers="d950606e11175" data-title="Description">An array of stage step resources.</td>

            </tr>

          </tbody>

        </table>

## FlowOutputFieldAssignment

Assigns a record field’s value to a variable that can be used elsewhere in the flow. It extends [FlowBaseElement](#FlowBaseElement) and inherits all its fields.

| Field Name | Field Type | Description |
| --- | --- | --- |
| assignToReference | string | Required. Reference to the variable where you want to store the value of the record field. |
| field | string | Required. Name of the field whose value is to be assigned after a record lookup. |

## FlowRelatedRecordLookup (Beta)

![Note](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/images/icon_note.png)

#### Note

This feature is a pilot or beta service that is subject to the Beta Services Terms at [Agreements - Salesforce.com](https://www.salesforce.com/company/legal/agreements/ "HTML (New Window)") or a written Unified Pilot Agreement if executed by Customer, and applicable terms in the [Product Terms Directory](https://ptd.salesforce.com/ "HTML (New Window)"). Use of this pilot or beta service is at the Customer's sole discretion.

Finds records in the database that are related to the records specified in FlowRecordLookup and stores their field values in the flow. Corresponds to a Get Records element in Flow Builder. It extends [FlowBaseElement](#FlowBaseElement) and inherits all its fields.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e11459" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e11462" data-title="Description">The filter logic that’s applied to the filter condition
                requirements. To require all conditions, use <samp class="codeph nolang">AND</samp>. To require any conditions, use
                <samp class="codeph nolang">OR</samp>. For custom condition
                logic, enter the entire logic string. For example, <samp class="codeph nolang">1 AND 2 OR (3 AND 4)</samp>.
              </td>

            </tr>

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

              <td class="entry" headers="d950606e11459" data-title="Field Type">
                <a class="xref" href="#FlowRecordFilter">FlowRecordFilter</a>[]
              </td>

              <td class="entry" headers="d950606e11462" data-title="Description">An array that specifies the criteria used to select the record
                from the database.<p class="p">If the filters return more than one record,
                  they’re sorted according to the specified
                  <span class="keyword parmname">sortField</span> and
                  <span class="keyword parmname">sortOrder</span>. If
                  <span class="keyword parmname">outputReference</span> specifies a
                  non-collection record variable or if
                  <span class="keyword parmname">getFirstRecordOnly</span> is <samp class="codeph nolang">true</samp>, only the first record in
                  the sorted list is selected.
                </p>
                <p class="p">If
                  <span class="keyword parmname">sortField</span> or
                  <span class="keyword parmname">sortOrder</span> isn’t specified, records
                  aren’t returned in any particular order. If
                  <span class="keyword parmname">outputReference</span> specifies a
                  non-collection record variable or if
                  <span class="keyword parmname">getFirstRecordOnly</span> is <samp class="codeph nolang">true</samp>, only the first record in
                  the unsorted list is selected.
                </p>
              </td>

            </tr>

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

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

              <td class="entry" headers="d950606e11462" data-title="Description">Indicates whether to store field values for only one record, even
                when multiple records meet the filter criteria. Supported only when
                <span class="keyword parmname">storeOutputAutomatically</span> is <samp class="codeph nolang">true</samp>. When
                <span class="keyword parmname">storeOutputAutomatically</span> is <samp class="codeph nolang">false</samp>, what determines whether one
                or multiple records are stored is whether
                <span class="keyword parmname">outputReference</span> specifies a record variable
                or a record collection variable.
              </td>

            </tr>

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

              <td class="entry" headers="d950606e11459" data-title="Field Type"><a class="xref" href="#FlowElementReferenceOrValue">
                  FlowElementReferenceOrValue</a></td>

              <td class="entry" headers="d950606e11462" data-title="Description">Specifies the maximum number of records to store. Valid values
                are between 2 and 20,000. Supported only when
                <span class="keyword parmname">getFirstRecordOnly</span> is false.
              </td>

            </tr>

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

              <td class="entry" headers="d950606e11459" data-title="Field Type">strings[]</td>

              <td class="entry" headers="d950606e11462" data-title="Description">An array that specifies which fields from the selected record are
                saved to the specified record variable.</td>

            </tr>

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

              <td class="entry" headers="d950606e11459" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e11462" data-title="Description">Name of the related object from which to select related
                records.</td>

            </tr>

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

              <td class="entry" headers="d950606e11459" data-title="Field Type">
                <a class="xref" href="#FlowRelatedRecordLookup">FlowRelatedRecordLookup</a>[]
              </td>

              <td class="entry" headers="d950606e11462" data-title="Description">An array that specifies the related records to look up in the
                database.</td>

            </tr>

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

              <td class="entry" headers="d950606e11459" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e11462" data-title="Description">Specifies the API name of the relationship field used to link the
                object to its related object. This field is required for retrieving
                related records.</td>

            </tr>

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

              <td class="entry" headers="d950606e11459" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e11462" data-title="Description">The field that’s used for sorting the records that meet the
                filter criteria. If this field isn’t specified, the returned records
                aren’t sorted.<p class="p">You can only sort records by fields that have the
                  <span class="keyword parmname">Sort</span> API field property, as specified
                  in <a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.264.0.api.meta/api/" target="_blank" title="HTML (New Window)">SOAP
                    API</a>.
                </p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e11459" data-title="Field Type">SortOrder (enumeration of type string)</td>

              <td class="entry" headers="d950606e11462" data-title="Description">Order in which to sort the records. If this field isn’t
                specified, then the results aren’t sorted.<p class="p">Valid values
                  are:</p>
                <a name="ul_v1p_nqv_w2c"><!-- --></a>
                <ul class="ul bulletList" id="ul_v1p_nqv_w2c">
                  <li class="li">
                    <samp class="codeph nolang">Asc</samp>—Ascending
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Desc</samp>—Descending
                  </li>

                </ul>
              </td>

            </tr>

          </tbody>

        </table>

## FlowRecordCreate

Create a record in the database using values from the flow. It extends [FlowNode](#FlowNode) and inherits all its properties.

![Note](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/images/icon_note.png)

#### Note

The flow record create, lookup, update, and delete operations are different from the CRUD-based metadata calls [create()](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_create.htm#meta_create "Deprecated. Adds one or more new metadata components to your organization asynchronously. This call is removed as of API version 31.0 and is available in earlier versions only. Use createMetadata() instead."), [retrieve()](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_retrieve.htm#meta_retrieve "The retrieve() call retrieves XML file representations of components in an organization."), [update()](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_update.htm#meta_update "Deprecated. Updates one or more components in your organization asynchronously. This call is removed as of API version 31.0 and is available in earlier versions only. Use updateMetadata() or renameMetadata() instead."), and [delete()](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_delete.htm#meta_delete "Deprecated. Deletes one or more components from your organization asynchronously. This call is removed as of API version 31.0 and is available in earlier versions only. Use deleteMetadata() instead."). The flow record methods apply to record operations from within a flow, which aren’t the same as doing any metadata calls to CRUD setup entities.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e11790" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e11793" data-title="Description">Reference to the variable where you want to store the ID after
                the record is created.</td>

            </tr>

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

              <td class="entry" headers="d950606e11790" data-title="Field Type"><a class="xref" href="#FlowConnector">FlowConnector</a></td>

              <td class="entry" headers="d950606e11793" data-title="Description">Specifies which node to execute after creating the
                record.</td>

            </tr>

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

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

              <td class="entry" headers="d950606e11793" data-title="Description">Indicates whether the element creates or updates records. The
                default value is <samp class="codeph nolang">false</samp>,
                indicating that the element only creates records. This field is
                available in API version 62.0 and later.</td>

            </tr>

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

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

              <td class="entry" headers="d950606e11793" data-title="Description">Indicates whether the element creates or updates records only if
                all records are created or updated successfully. If set to <samp class="codeph nolang">true</samp> and a record fails, then the
                transaction rolls back and no records are created or updated.<p class="p">If
                  set to <samp class="codeph nolang">false</samp>, the
                  transaction creates or updates only the records that are
                  successful. The default value is <samp class="codeph nolang">true</samp>. This field is available in API version 62.0
                  and later.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e11790" data-title="Field Type"><a class="xref" href="#FlowConnector">FlowConnector</a></td>

              <td class="entry" headers="d950606e11793" data-title="Description">Specifies which node to execute if the attempt to create a record
                results in an error.</td>

            </tr>

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

              <td class="entry" headers="d950606e11790" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e11793" data-title="Description">The filter logic applied to the filter condition requirements. To
                require all conditions, use <samp class="codeph nolang">AND</samp>. To require any conditions, use <samp class="codeph nolang">OR</samp>. For custom condition logic,
                enter the entire logic string. For example, <samp class="codeph nolang">1 AND 2 OR (3 AND 4)</samp>. <p class="p">This field
                  is available in API version 61.0 and later.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e11790" data-title="Field Type">
                <a class="xref" href="#FlowRecordFilter">FlowRecordFilter</a>[]
              </td>

              <td class="entry" headers="d950606e11793" data-title="Description">An array that specifies the criteria to select which records to
                create or update in the database.<p class="p">This field is available in API
                  version 61.0 and later.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e11790" data-title="Field Type">
                <a class="xref" href="#FlowInputFieldAssignment">FlowInputFieldAssignment</a>[]
              </td>

              <td class="entry" headers="d950606e11793" data-title="Description">An array that assigns values to the specified fields of the
                record being created.</td>

            </tr>

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

              <td class="entry" headers="d950606e11790" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e11793" data-title="Description">Specifies the record variable whose field values are used to
                populate the new record’s fields.</td>

            </tr>

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

              <td class="entry" headers="d950606e11790" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e11793" data-title="Description">Required. The object type that the element creates.</td>

            </tr>

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

              <td class="entry" headers="d950606e11790" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e11793" data-title="Description">The operation to perform if multiple matching records are found.
                Valid values are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">None</samp></li>

                  <li class="li"><samp class="codeph nolang">UpdateAllRecords</samp></li>

                  <li class="li"><samp class="codeph nolang">UpdateLatestRecord</samp></li>

                </ul>
                <p class="p">This field is available in API version 61.0 and
                  later.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e11790" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e11793" data-title="Description">The operation to perform if one matching record is found. Valid
                values are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">None</samp></li>

                  <li class="li"><samp class="codeph nolang">UpdateAllRecords</samp></li>

                </ul>
                <p class="p">This field is available in API version 61.0 and
                  later.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e11790" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e11793" data-title="Description">The operation to perform if no matching records are found. Valid
                values are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">None</samp></li>

                </ul>
                <p class="p">This field is available in API version 61.0 and
                  later.</p>
              </td>

            </tr>

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

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

              <td class="entry" headers="d950606e11793" data-title="Description">Indicates whether the record ID is automatically available in the
                flow without creating any variables. When the value is <samp class="codeph nolang">true</samp>, you can reference the record
                ID by specifying the API name of the Create Records element in the
                flow. The default value is <samp class="codeph nolang">false</samp>. When the value is <samp class="codeph nolang">false</samp>, create a variable to store the record
                ID.<p class="p">This field is available in API version 48.0 and
                  later.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e11790" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e11793" data-title="Description">If <span class="keyword parmname">doesUpsert</span> is <samp class="codeph nolang">true</samp>, specifies the external ID field on the record.
                You can provide a value for this property or for the Upsert Standard
                ID Field property, but not both. This field is available in API
                version 62.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e11790" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e11793" data-title="Description">If <span class="keyword parmname">doesUpsert</span> is <samp class="codeph nolang">true</samp>, specifies the standard ID field like Account ID
                on the object. You can provide a value for this property or for the
                Upsert External ID Field property, but not both. This field is
                available in API version 62.0 and later.</td>

            </tr>

          </tbody>

        </table>

## FlowRecordDelete

Deletes one or more records in the database. It extends [FlowNode](#FlowNode) and inherits all its fields.

![Note](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/images/icon_note.png)

#### Note

The flow record create, lookup, update, and delete operations are different from the CRUD-based metadata calls [create()](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_create.htm#meta_create "Deprecated. Adds one or more new metadata components to your organization asynchronously. This call is removed as of API version 31.0 and is available in earlier versions only. Use createMetadata() instead."), [retrieve()](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_retrieve.htm#meta_retrieve "The retrieve() call retrieves XML file representations of components in an organization."), [update()](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_update.htm#meta_update "Deprecated. Updates one or more components in your organization asynchronously. This call is removed as of API version 31.0 and is available in earlier versions only. Use updateMetadata() or renameMetadata() instead."), and [delete()](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_delete.htm#meta_delete "Deprecated. Deletes one or more components from your organization asynchronously. This call is removed as of API version 31.0 and is available in earlier versions only. Use deleteMetadata() instead."). The flow record methods apply to record operations from within a flow, which aren’t the same as doing any metadata calls to CRUD setup entities.

| Field Name | Field Type | Description |
| --- | --- | --- |
| connector | [FlowConnector](#FlowConnector) | Specifies which node to execute after deleting the record. |
| faultConnector | [FlowConnector](#FlowConnector) | Specifies which node to execute if the attempt to delete a record results in an error. |
| filters | [FlowRecordFilter](#FlowRecordFilter)\[\] | An array that specifies the criteria used to select which records to delete from the database. For example, delete accounts whose last activity was older than a specified date. |
| inputReference | string | Specifies the record variable whose record ID is used to identify which record to delete in the database. |
| object | string | Required. The name of the object whose records are deleted. |

## FlowRecordFilter

Sets the criteria for searching records in the database. It extends [FlowBaseElement](#FlowBaseElement) and inherits all its fields.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e12318" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e12321" data-title="Description">Required. The field to be used for filtering records.</td>

            </tr>

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

              <td class="entry" headers="d950606e12318" data-title="Field Type">FlowRecordFilterOperator (enumeration of type string)</td>

              <td class="entry" headers="d950606e12321" data-title="Description">Required. Valid values are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">EqualTo</samp></li>

                  <li class="li"><samp class="codeph nolang">NotEqualTo</samp></li>

                  <li class="li"><samp class="codeph nolang">GreaterThan</samp></li>

                  <li class="li"><samp class="codeph nolang">LessThan</samp></li>

                  <li class="li"><samp class="codeph nolang">GreaterThanOrEqualTo</samp></li>

                  <li class="li"><samp class="codeph nolang">LessThanOrEqualTo</samp></li>

                  <li class="li"><samp class="codeph nolang">StartsWith</samp></li>

                  <li class="li"><samp class="codeph nolang">EndsWith</samp></li>

                  <li class="li"><samp class="codeph nolang">Contains</samp></li>

                  <li class="li"><samp class="codeph nolang">IsNull</samp></li>

                </ul>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e12318" data-title="Field Type"><a class="xref" href="#FlowElementReferenceOrValue">FlowElementReferenceOrValue</a></td>

              <td class="entry" headers="d950606e12321" data-title="Description">Reference or value used with the field and operator to filter
                records.</td>

            </tr>

          </tbody>

        </table>

## FlowRecordLookup

Finds records in the database and stores their field values in the flow. Corresponds to a Get Records element in Flow Builder. It extends [FlowNode](#FlowNode) and inherits all its fields.

![Note](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/images/icon_note.png)

#### Note

The flow record create, lookup, update, and delete operations are different from the CRUD-based metadata calls [create()](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_create.htm#meta_create "Deprecated. Adds one or more new metadata components to your organization asynchronously. This call is removed as of API version 31.0 and is available in earlier versions only. Use createMetadata() instead."), [retrieve()](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_retrieve.htm#meta_retrieve "The retrieve() call retrieves XML file representations of components in an organization."), [update()](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_update.htm#meta_update "Deprecated. Updates one or more components in your organization asynchronously. This call is removed as of API version 31.0 and is available in earlier versions only. Use updateMetadata() or renameMetadata() instead."), and [delete()](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_delete.htm#meta_delete "Deprecated. Deletes one or more components from your organization asynchronously. This call is removed as of API version 31.0 and is available in earlier versions only. Use deleteMetadata() instead."). The flow record methods apply to record operations from within a flow, which aren’t the same as doing any metadata calls to CRUD setup entities.

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



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

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

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

            </tr>

          </thead>

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

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

              <td class="entry" headers="d950606e12512" data-title="Description">Specifies that all values are set to <samp class="codeph nolang">null</samp> when no record is found. Supported only when
                <span class="keyword parmname">storeOutputAutomatically</span> is <samp class="codeph nolang">false</samp>.<p class="p">This field is available in
                  API version 30.0 and later.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e12509" data-title="Field Type"><a class="xref" href="#FlowConnector">FlowConnector</a></td>

              <td class="entry" headers="d950606e12512" data-title="Description">Specifies which node to execute after getting records from the
                database.</td>

            </tr>

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

              <td class="entry" headers="d950606e12509" data-title="Field Type"><a class="xref" href="#FlowConnector">FlowConnector</a></td>

              <td class="entry" headers="d950606e12512" data-title="Description">Specifies which node to execute if the attempt to get records
                results in an error.</td>

            </tr>

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

              <td class="entry" headers="d950606e12509" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e12512" data-title="Description">The filter logic that’s applied to the filter condition
                requirements. To require all conditions, use <samp class="codeph nolang">AND</samp>. To require any conditions, use
                <samp class="codeph nolang">OR</samp>. For custom condition
                logic, enter the entire logic string. For example, <samp class="codeph nolang">1 AND 2 OR (3 AND 4)</samp>. This field is
                available in API version 50.0 and later.
              </td>

            </tr>

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

              <td class="entry" headers="d950606e12509" data-title="Field Type">
                <a class="xref" href="#FlowRecordFilter">FlowRecordFilter</a>[]
              </td>

              <td class="entry" headers="d950606e12512" data-title="Description">An array that specifies the criteria used to select the record
                from the database.<p class="p">If the filters return more than one record,
                  they’re sorted according to the specified
                  <span class="keyword parmname">sortField</span> and
                  <span class="keyword parmname">sortOrder</span>. If
                  <span class="keyword parmname">outputReference</span> specifies a
                  non-collection record variable or if
                  <span class="keyword parmname">getFirstRecordOnly</span> is <samp class="codeph nolang">true</samp>, only the first record in
                  the sorted list is selected.
                </p>
                <p class="p">If
                  <span class="keyword parmname">sortField</span> or
                  <span class="keyword parmname">sortOrder</span> isn’t specified, records
                  aren’t returned in any particular order. If
                  <span class="keyword parmname">outputReference</span> specifies a
                  non-collection record variable or if
                  <span class="keyword parmname">getFirstRecordOnly</span> is <samp class="codeph nolang">true</samp>, only the first record in
                  the unsorted list is selected.
                </p>
              </td>

            </tr>

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

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

              <td class="entry" headers="d950606e12512" data-title="Description">Indicates whether to store field values for only one record, even
                when multiple records meet the filter criteria. Supported only when
                <span class="keyword parmname">storeOutputAutomatically</span> is <samp class="codeph nolang">true</samp>. When
                <span class="keyword parmname">storeOutputAutomatically</span> is <samp class="codeph nolang">false</samp>, what determines whether one
                or multiple records are stored is whether
                <span class="keyword parmname">outputReference</span> specifies a record variable
                or a record collection variable.<p class="p">This field is available in API
                  version 47.0 and later.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e12509" data-title="Field Type"><a class="xref" href="#FlowElementReferenceOrValue">
                  FlowElementReferenceOrValue</a></td>

              <td class="entry" headers="d950606e12512" data-title="Description">Specifies the maximum number of records to store. Valid values
                are between 2 and 20,000. Supported only when
                <span class="keyword parmname">getFirstRecordOnly</span> is false.<p class="p">This field
                  is available in API version 63.0 and later.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e12509" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e12512" data-title="Description">Name of the object from which to select the record.</td>

            </tr>

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

              <td class="entry" headers="d950606e12509" data-title="Field Type">
                <a class="xref" href="#FlowOutputFieldAssignment">FlowOutputFieldAssignment</a>[]
              </td>

              <td class="entry" headers="d950606e12512" data-title="Description">An array that assigns fields from the selected record to
                variables that can be used elsewhere in the flow. Supported only
                when <span class="keyword parmname">storeOutputAutomatically</span> is <samp class="codeph nolang">false</samp>.</td>

            </tr>

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

              <td class="entry" headers="d950606e12509" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e12512" data-title="Description">Specifies the record variable or record collection variable that
                stores the queried fields’ values. Supported only when
                <span class="keyword parmname">storeOutputAutomatically</span> is <samp class="codeph nolang">false</samp>.
              </td>

            </tr>

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

              <td class="entry" headers="d950606e12509" data-title="Field Type">string[]</td>

              <td class="entry" headers="d950606e12512" data-title="Description">An array that specifies which fields from the selected record are
                saved to the specified record variable.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e12506" data-title="Field Name">
                <span class="keyword parmname">relatedRecords</span> (beta)
              </td>

              <td class="entry" headers="d950606e12509" data-title="Field Type">
                <a class="xref" href="#FlowRelatedRecordLookup">FlowRelatedRecordLookup</a>[]
              </td>

              <td class="entry" headers="d950606e12512" data-title="Description">An array that specifies the related records to look up in the
                database.</td>

            </tr>

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

              <td class="entry" headers="d950606e12509" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e12512" data-title="Description">The field that’s used for sorting the records that meet the
                filter criteria. If this field isn’t specified, the returned records
                aren’t sorted.<p class="p">You can only sort records by fields that have the
                  <span class="keyword parmname">Sort</span> API field property, as specified
                  in <a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.264.0.api.meta/api/" target="_blank" title="HTML (New Window)">SOAP
                    API</a>.
                </p>
                <p class="p">This field is available in API version 25.0
                  and later.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e12509" data-title="Field Type">SortOrder (enumeration of type string)</td>

              <td class="entry" headers="d950606e12512" data-title="Description">Order in which to sort the records. If this field isn’t
                specified, then the results aren’t sorted.<p class="p">Valid values are:</p>
                <ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">Asc</samp>—Ascending
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Desc</samp>—Descending
                  </li>

                </ul>
                <p class="p">This field is available in API version 25.0 and
                  later.</p>
              </td>

            </tr>

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

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

              <td class="entry" headers="d950606e12512" data-title="Description">Indicates whether the returned records’ field values are
                automatically available in the flow without creating any variables.
                When the value is <samp class="codeph nolang">true</samp>, the
                flow can reference a field by specifying the
                <span class="keyword parmname">name</span> of the Get Records element and the
                record field, such as <samp class="codeph nolang">Get_Contacts.AccountId</samp>. Supported only when
                <span class="keyword parmname">processType</span> is <samp class="codeph nolang">Flow</samp> or <samp class="codeph nolang">AutoLaunchedFlow</samp>.<p class="p">This field is available in API
                  version 47.0 and later.</p>
              </td>

            </tr>

          </tbody>

        </table>

## FlowRecordRollback

Rolls back the current transaction and cancels its pending record changes. Corresponds to the Roll Back Records element in Flow Builder. Available only in screen flows.

FlowRecordRollback extends [FlowNode](#FlowNode) and inherits all its fields. This metadata type is available in API version 52.0 and later.

| Field Name | Field Type | Description |
| --- | --- | --- |
| connector | [FlowConnector](#FlowConnector) | Specifies which node to execute after rolling back the current transaction. |

## FlowRecordUpdate

Finds records in the database and updates them with values from the flow. It extends [FlowNode](#FlowNode) and inherits all its fields.

![Note](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/images/icon_note.png)

#### Note

The flow record create, lookup, update, and delete operations are different from the CRUD-based metadata calls [create()](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_create.htm#meta_create "Deprecated. Adds one or more new metadata components to your organization asynchronously. This call is removed as of API version 31.0 and is available in earlier versions only. Use createMetadata() instead."), [retrieve()](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_retrieve.htm#meta_retrieve "The retrieve() call retrieves XML file representations of components in an organization."), [update()](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_update.htm#meta_update "Deprecated. Updates one or more components in your organization asynchronously. This call is removed as of API version 31.0 and is available in earlier versions only. Use updateMetadata() or renameMetadata() instead."), and [delete()](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_delete.htm#meta_delete "Deprecated. Deletes one or more components from your organization asynchronously. This call is removed as of API version 31.0 and is available in earlier versions only. Use deleteMetadata() instead."). The flow record methods apply to record operations from within a flow, which aren’t the same as doing any metadata calls to CRUD setup entities.

| Field Name | Field Type | Description |
| --- | --- | --- |
| connector | [FlowConnector](#FlowConnector) | Specifies which node to execute after completing the record update. |
| faultConnector | [FlowConnector](#FlowConnector) | Specifies which node to execute if the attempt to update a record results in an error. |
| filters | [FlowRecordFilter](#FlowRecordFilter)\[\] | An array that specifies the criteria used to select the records to update in the database. |
| inputAssignments | [FlowInputFieldAssignment](#FlowInputFieldAssignment)\[\] | An array that assigns values to the specified fields of the record being updated. |
| inputReference | string | Specifies the record variable whose field values are used to update the record’s fields. |
| object | string | Required. Name of the object whose records are updated. |

## FlowRule

Defines the conditions and logic that enables a rule to evaluate to true. It extends [FlowElement](#FlowElement) and inherits all of its fields.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e13158" data-title="Field Type">
                <a class="xref" href="#FlowAttribute">FlowAttribute</a>[]
              </td>

              <td class="entry" headers="d950606e13161" data-title="Description">An array of attributes for the flow rule. This field is available
                in API version 65.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e13158" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e13161" data-title="Description">Specifies logic for the conditions. Value can be:<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">and</samp>—Evaluates to
                    <samp class="codeph nolang">true</samp> if all of its
                    conditions are true.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">or</samp>—Evaluates to <samp class="codeph nolang">true</samp> if any conditions are
                    true.
                  </li>

                  <li class="li">Advanced logic like <samp class="codeph nolang">1 AND (2 OR
                      3)</samp>—Evaluates to <samp class="codeph nolang">true</samp> if the first condition is <samp class="codeph nolang">true</samp> and either the second
                    or third condition is <samp class="codeph nolang">true</samp>. <p class="p">When you use advanced logic, the
                      string can contain up to 1,000 characters.</p>
                  </li>

                </ul>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e13158" data-title="Field Type">
                <a class="xref" href="#FlowCondition">FlowCondition</a>[]
              </td>

              <td class="entry" headers="d950606e13161" data-title="Description">An array of conditions for the rule.</td>

            </tr>

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

              <td class="entry" headers="d950606e13158" data-title="Field Type"><a class="xref" href="#FlowConnector">FlowConnector</a></td>

              <td class="entry" headers="d950606e13161" data-title="Description">Specifies which node to execute if this rule evaluates to <samp class="codeph nolang">true</samp> in a decision first.</td>

            </tr>

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

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

              <td class="entry" headers="d950606e13161" data-title="Description">If set to <samp class="codeph nolang">true</samp>, conditions
                evaluate to <samp class="codeph nolang">true</samp> only if the
                record didn’t meet the required conditions before the triggering
                update but now meets the conditions after the update. This field is
                available in API version 50.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e13158" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e13161" data-title="Description">Required. Label for the connector.</td>

            </tr>

          </tbody>

        </table>

## FlowSchedule

Specifies when and how frequently to run the flow. This metadata type is available in API version 47.0 and later.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e13329" data-title="Field Type">int</td>

              <td class="entry" headers="d950606e13332" data-title="Description">The number of the day of the month on which the flow runs. For
                example, <samp class="codeph nolang">1</samp> is the first day of
                the month, <samp class="codeph nolang">2</samp> is the second day
                of the month, and so on. You can use <samp class="codeph nolang">-1</samp> for the last day of the month. This field is
                available in API version 66.0 and later. </td>

            </tr>

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

              <td class="entry" headers="d950606e13329" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e13332" data-title="Description">The number of the days of the week on which the flow is to run.
                For example, <samp class="codeph nolang">1</samp>, <samp class="codeph nolang">2</samp>, <samp class="codeph nolang">3</samp>, where <samp class="codeph nolang">1</samp> is
                Sunday, 2 is Monday, and so on. This field is available in API
                version 66.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e13329" data-title="Field Type">date</td>

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

            </tr>

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

              <td class="entry" headers="d950606e13329" data-title="Field Type">time</td>

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

            </tr>

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

              <td class="entry" headers="d950606e13329" data-title="Field Type">FlowStartFrequency (enumeration of type string)</td>

              <td class="entry" headers="d950606e13332" data-title="Description">Specifies how frequently to run the flow. Valid values are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">Once</samp></li>

                  <li class="li"><samp class="codeph nolang">Daily</samp></li>

                  <li class="li"><samp class="codeph nolang">Weekly</samp></li>

                  <li class="li">
                    <samp class="codeph nolang">OnActivate</samp>—For
                    segment-triggered flows only. This value is available in API
                    version 49.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Hourly</samp>—For
                    segment-triggered flows only. This value is available in API
                    version 66.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Monthly</samp>—For
                    segment-triggered flows only. This value is available in API
                    version 66.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Weekdays</samp>—For
                    segment-triggered flows only. This value is available in API
                    version 66.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Yearly</samp>—For
                    segment-triggered flows only. This value is available in API
                    version 66.0 and later.
                  </li>

                </ul>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e13329" data-title="Field Type">int</td>

              <td class="entry" headers="d950606e13332" data-title="Description">For segment-triggered flows only. The number of times to run the
                flow for this schedule based on the <span class="keyword parmname">frequency</span>
                value. For example, if this field is <samp class="codeph nolang">2</samp>, and <span class="keyword parmname">frequency</span> is <samp class="codeph nolang">Hourly</samp>, the flow runs every hour
                for 2 hours . When this number is met, the flow no longer runs for
                this schedule. This field is available in API version 66.0 and
                later.</td>

            </tr>

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

              <td class="entry" headers="d950606e13329" data-title="Field Type">date</td>

              <td class="entry" headers="d950606e13332" data-title="Description">The date when the flow runs, or when the flow’s run schedule
                starts recurring.</td>

            </tr>

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

              <td class="entry" headers="d950606e13329" data-title="Field Type">time</td>

              <td class="entry" headers="d950606e13332" data-title="Description">The time of day when the flow runs, based on the org’s default
                time zone.</td>

            </tr>

          </tbody>

        </table>

## FlowScheduledPath

Defines a scheduled path. It extends [FlowElement](#FlowElement) and inherits all its fields. This metadata type is available in API version 51.0 and later.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e13550" data-title="Field Type"><a class="xref" href="#FlowConnector">FlowConnector</a></td>

              <td class="entry" headers="d950606e13553" data-title="Description">Specifies which node to execute after this scheduled
                path.</td>

            </tr>

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

              <td class="entry" headers="d950606e13550" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e13553" data-title="Description">Label for the scheduled path.</td>

            </tr>

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

              <td class="entry" headers="d950606e13550" data-title="Field Type">int</td>

              <td class="entry" headers="d950606e13553" data-title="Description">The maximum number of scheduled path interviews to execute in a
                single batch, from <samp class="codeph nolang">1</samp> to <samp class="codeph nolang">200</samp>. Default is <samp class="codeph nolang">200</samp>.</td>

            </tr>

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

              <td class="entry" headers="d950606e13550" data-title="Field Type">int</td>

              <td class="entry" headers="d950606e13553" data-title="Description">Number of months, days, hours, or minutes to offset the time that
                the scheduled path executes. Negative values offset the time to
                execute before the provided time. Positive values offset the time to
                execute after the provided time.</td>

            </tr>

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

              <td class="entry" headers="d950606e13550" data-title="Field Type">FlowScheduledPathOffsetUnit (enumeration of type string)</td>

              <td class="entry" headers="d950606e13553" data-title="Description">Specify the time unit used to offset when the scheduled path
                executes. Possible values are:<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">Months</samp>—This value is
                    available in API version 56.0 and later.
                  </li>

                  <li class="li"><samp class="codeph nolang">Days</samp></li>

                  <li class="li"><samp class="codeph nolang">Hours</samp></li>

                  <li class="li"><samp class="codeph nolang">Minutes</samp></li>

                </ul>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e13550" data-title="Field Type">FlowScheduledPathType (enumeration of type string)</td>

              <td class="entry" headers="d950606e13553" data-title="Description">The type of scheduled path. <samp class="codeph nolang">null</samp> is used for time-triggered and record-triggered
                paths. The default value is <samp class="codeph nolang">null</samp>.<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">AsyncAfterCommit</samp>—The
                    scheduled path runs asynchronously after a save.
                  </li>

                </ul>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e13550" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e13553" data-title="Description">Field used to determine when the scheduled path executes. The
                field’s object is defined in <a class="xref" href="#FlowStart">FlowStart</a>.</td>

            </tr>

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

              <td class="entry" headers="d950606e13550" data-title="Field Type">FlowScheduledPathTimeSource (enumeration of type string)</td>

              <td class="entry" headers="d950606e13553" data-title="Description">Specify if a field or event is used to determine when the
                scheduled path executes. Possible values are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">RecordField</samp></li>

                  <li class="li"><samp class="codeph nolang">RecordTriggerEvent</samp></li>

                </ul>
              </td>

            </tr>

          </tbody>

        </table>

## FlowScreen

Screens capture information from users and display information to users. It extends [FlowNode](#FlowNode) and inherits all its fields.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e13755" data-title="Field Type">
                <a class="xref" href="#FlowScreenAction">FlowScreenAction</a>[]
              </td>

              <td class="entry" headers="d950606e13758" data-title="Description">An array of screen actions.<p class="p">This field is available in API
                  version 59.0 and later.</p>
              </td>

            </tr>

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

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

              <td class="entry" headers="d950606e13758" data-title="Description">Indicates whether to show (<samp class="codeph nolang">true</samp>) or hide (<samp class="codeph nolang">false</samp>) the <strong class="ph uicontrol">Previous</strong> button on
                the screen at runtime. When true, the
                <strong class="ph uicontrol">Previous</strong> button appears only if the user
                visited a previous screen in the flow path and if
                <span class="keyword parmname">showFooter</span> for the screen is set to <samp class="codeph nolang">true</samp>. Set this field to false when
                revisiting the previous screen triggers an action that you don’t
                want repeated, such as a credit card transaction.<p class="p">This field is
                  available in API version 26.0 and later.</p>
                <p class="p">Default: <samp class="codeph nolang">true</samp></p>

                <p class="p"><span class="ph" id="flow_back_finish_restriction"><a name="flow_back_finish_restriction"><!-- --></a>You can set either
                    <span class="keyword parmname">allowBack</span> or
                    <span class="keyword parmname">allowFinish</span> to false, but not
                    both.</span></p>
              </td>

            </tr>

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

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

              <td class="entry" headers="d950606e13758" data-title="Description">Indicates whether to show (<samp class="codeph nolang">true</samp>) or hide (<samp class="codeph nolang">false</samp>) the <strong class="ph uicontrol">Finish</strong> button on the
                screen at runtime. When <samp class="codeph nolang">true</samp>,
                the <strong class="ph uicontrol">Finish</strong> button appears only if the screen
                element is the end of a flow path, and if
                <span class="keyword parmname">showFooter</span> for the screen is set to <samp class="codeph nolang">true</samp>. The default value is <samp class="codeph nolang">true</samp>. <p class="p">Set to <samp class="codeph nolang">false</samp> if user is required to go
                  back to a previous screen to continue or complete the flow. For
                  example, don’t include a <strong class="ph uicontrol">Finish</strong> button on
                  a screen that tells the user to go back and make corrections on
                  a previous screen.</p>

                <p class="p">You can set <span class="keyword parmname">allowBack</span> or
                  <span class="keyword parmname">allowFinish</span> to <samp class="codeph nolang">false</samp>, but not both.
                </p>

                <p class="p">This field is available in API version 26.0 and
                  later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e13752" data-title="Field Name"><span class="keyword parmname" id="flow_allowpause"><a name="flow_allowpause"><!-- --></a>allowPause</span></td>

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

              <td class="entry" headers="d950606e13758" data-title="Description">
                <span class="ph" id="flow_allowpause_desc"><a name="flow_allowpause_desc"><!-- --></a>Indicates whether to show (<samp class="codeph nolang">true</samp>) or hide (<samp class="codeph nolang">false</samp>) the
                  <strong class="ph uicontrol">Pause</strong> button on the screen at
                  runtime. The default value is <samp class="codeph nolang">true</samp>.</span>
                <p class="p">A flow screen displays the <strong class="ph uicontrol">Pause</strong> button if
                  all these conditions are <samp class="codeph nolang">true</samp>.</p>
                <ul class="ul bulletList">
                  <li class="li">
                    <strong class="ph uicontrol">Let users pause flows</strong> is enabled in
                    the organization’s process automation settings.
                  </li>

                  <li class="li">
                    <span class="keyword parmname">allowPause</span> for the screen is set to
                    <samp class="codeph nolang">true</samp>.
                  </li>

                  <li class="li">If the flow is embedded in a Visualforce page, the
                    &lt;flow:interview&gt; component has its
                    <span class="keyword parmname">showAllowPause</span> attribute set to
                    <samp class="codeph nolang">true</samp>.
                  </li>

                  <li class="li">The <span class="keyword parmname">showFooter</span> field for the screen is
                    set to <samp class="codeph nolang">true</samp>.</li>

                </ul>
                <p class="p">This field is available in API version 33.0 and
                  later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e13752" data-title="Field Name"><span class="keyword parmname" id="flow_backButtonLabel"><a name="flow_backButtonLabel"><!-- --></a>backButtonLabel</span></td>

              <td class="entry" headers="d950606e13755" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e13758" data-title="Description">A label for the Back button.</td>

            </tr>

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

              <td class="entry" headers="d950606e13755" data-title="Field Type"><a class="xref" href="#FlowConnector">FlowConnector</a></td>

              <td class="entry" headers="d950606e13758" data-title="Description">Specifies which node to execute after the screen node.</td>

            </tr>

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

              <td class="entry" headers="d950606e13755" data-title="Field Type">
                <a class="xref" href="#FlowScreenField">FlowScreenField</a>[]
              </td>

              <td class="entry" headers="d950606e13758" data-title="Description">An array of fields to display on the screen.</td>

            </tr>

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

              <td class="entry" headers="d950606e13755" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e13758" data-title="Description">Text that appears if the end user clicks a link for help
                text. <p class="p">Supports merge fields in API version
                  26.0 and later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e13752" data-title="Field Name"><span class="keyword parmname" id="flow_nextOrFinishButtonLabel"><a name="flow_nextOrFinishButtonLabel"><!-- --></a>nextOrFinishButtonLabel</span></td>

              <td class="entry" headers="d950606e13755" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e13758" data-title="Description">A label for the Next or Finish button.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e13752" data-title="Field Name"><span class="keyword parmname" id="flow_pauseButtonLabel"><a name="flow_pauseButtonLabel"><!-- --></a>pauseButtonLabel</span></td>

              <td class="entry" headers="d950606e13755" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e13758" data-title="Description">A label for the Pause button.</td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e13752" data-title="Field Name"><span class="keyword parmname" id="flow_pausetext"><a name="flow_pausetext"><!-- --></a>pausedText</span></td>

              <td class="entry" headers="d950606e13755" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e13758" data-title="Description">
                <span class="ph" id="flow_pausetext_desc"><a name="flow_pausetext_desc"><!-- --></a>A confirmation message that appears
                  when an end user clicks
                  <strong class="ph uicontrol">Pause</strong>.</span>
                <p class="p">This field is available in
                  API version 33.0 and later.</p>
              </td>

            </tr>

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

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

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

            </tr>

            <tr>
              <td class="entry" headers="d950606e13752" data-title="Field Name"><span class="keyword parmname" id="flow_showfooter"><a name="flow_showfooter"><!-- --></a>showFooter</span></td>

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

              <td class="entry" headers="d950606e13758" data-title="Description">
                <span class="ph" id="flow_showfooter_desc"><a name="flow_showfooter_desc"><!-- --></a>Indicates whether to show (<samp class="codeph nolang">true</samp>) or hide (<samp class="codeph nolang">false</samp>) the screen’s footer at
                  Lightning runtime. Classic runtime isn’t supported. The default
                  value is <samp class="codeph nolang">true</samp>.</span>
                <p class="p">The footer includes navigation actions for the screen. If
                  <span class="keyword parmname">showFooter</span> is hidden, use Lightning
                  components on the screen to show navigation actions.
                </p>

                <p class="p">This field is available in API version 42.0 and
                  later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e13752" data-title="Field Name"><span class="keyword parmname" id="flow_showheader"><a name="flow_showheader"><!-- --></a>showHeader</span></td>

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

              <td class="entry" headers="d950606e13758" data-title="Description">
                <span class="ph" id="flow_showheader_desc"><a name="flow_showheader_desc"><!-- --></a>Indicates whether to show (<samp class="codeph nolang">true</samp>) or hide (<samp class="codeph nolang">false</samp>) the screen’s header at
                  Lightning runtime.</span> Classic runtime isn’t supported. The
                default value is <samp class="codeph nolang">true</samp>. <p class="p">The
                  header includes access to help text for the screen. If
                  <span class="keyword parmname">showHeader</span> is hidden, use Lightning
                  components on the screen to show help text.
                </p>

                <p class="p">This field is available in API version 42.0 and
                  later.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e13755" data-title="Field Type"><a class="xref" href="#FlowElementReferenceOrValue">FlowElementReferenceOrValue</a></td>

              <td class="entry" headers="d950606e13758" data-title="Description">The API name of the stage resource that’s associated with the
                screen.</td>

            </tr>

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

              <td class="entry" headers="d950606e13755" data-title="Field Type">
                <a class="xref" href="#FlowScreenStyleSetting">FlowScreenStyleSetting</a>[]
              </td>

              <td class="entry" headers="d950606e13758" data-title="Description">An array of flow screen style settings to customize the visual
                experience of a screen at run time. This field is available in API
                version 66.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e13755" data-title="Field Type">
                <a class="xref" href="#FlowScreenTrigger">FlowScreenTrigger</a>[]
              </td>

              <td class="entry" headers="d950606e13758" data-title="Description">An array of triggers configured for a flow screen field or a flow
                screen field attribute.<p class="p">This field is available in API version
                  59.0 and later.</p>
              </td>

            </tr>

          </tbody>

        </table>

## FlowScreenAction

Defines an action that can be triggered by one or more flow screen components.

This metadata type is available in API version 59.0 and later.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e14225" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e14228" data-title="Description">Required. The API name of the flow screen action. </td>

            </tr>

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

              <td class="entry" headers="d950606e14225" data-title="Field Type">InvocableActionType (enumeration of type string)</td>

              <td class="entry" headers="d950606e14228" data-title="Description">Required. The flow screen action type. Valid values are:<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">flow</samp>—Invokes an
                    autolaunched flow.
                  </li>

                </ul>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e14225" data-title="Field Type">
                <a class="xref" href="#FlowScreenActionInputParameter">FlowScreenActionInputParameter</a>[]
              </td>

              <td class="entry" headers="d950606e14228" data-title="Description">An array of input parameters from the flow to the flow screen
                action.</td>

            </tr>

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

              <td class="entry" headers="d950606e14225" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e14228" data-title="Description">Requiired. The label of the flow screen action.</td>

            </tr>

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

              <td class="entry" headers="d950606e14225" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e14228" data-title="Description">The API name of the flow screen action.</td>

            </tr>

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

              <td class="entry" headers="d950606e14225" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e14228" data-title="Description">Specifies the version of the screen action to be invoked.<p class="p">This
                  field is available in API version 63.0 and later.</p>
              </td>

            </tr>

          </tbody>

        </table>

## FlowScreenActionInputParameter

Defines an iput parameter for a flow screen action. It extends [FlowScreenFieldInputParameter](#FlowScreenFieldInputParameter) and inherits all its fields.

This metadata type is available in API version 59.0 and later.

| Field Name | Field Type | Description |
| --- | --- | --- |
| name | string | Required. Unique name of the input parameter of a flow screen action. |
| value | [FlowElementReferenceOrValue](#FlowElementReferenceOrValue) | Defines the valueof an input parameter for a flow screen action. |

## FlowScreenField

Represents a screen component. FlowScreenField extends [FlowElement](#FlowElement) and inherits all its fields. See [Salesforce Help: Standard Flow Screen Components](https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_screencmp.htm&language=en_US).

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e14436" data-title="Field Type">string[]</td>

              <td class="entry" headers="d950606e14439" data-title="Description">An array of references to FlowChoices or FlowDynamicChoiceSets.
                The resulting choice options appear in the order specified in this
                array, where the element at index 0 provides the top-most choice
                option. Supported for these types of screen components.<ul class="ul bulletList">
                  <li class="li">RadioButtons</li>

                  <li class="li">DropdownBox</li>

                  <li class="li">MultiSelectCheckboxes</li>

                  <li class="li">MultiSelectPicklist</li>

                </ul>
                <p class="p">Multi-select checkboxes and multi-select picklist fields are
                  available in API version 26.0 and later.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e14436" data-title="Field Type">FlowDataType (enumeration of type string)</td>

              <td class="entry" headers="d950606e14439" data-title="Description">Data type of the screen component. Only supported for the
                InputField, RadioButtons, and DropdownBox types of screen
                components. Valid data types are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">Boolean</samp></li>

                  <li class="li"><samp class="codeph nolang">Currency</samp></li>

                  <li class="li"><samp class="codeph nolang">Date</samp></li>

                  <li class="li"><samp class="codeph nolang">DateTime</samp></li>

                  <li class="li"><samp class="codeph nolang">Number</samp></li>

                  <li class="li"><samp class="codeph nolang">String</samp></li>

                  <li class="li"><samp class="codeph nolang">Time</samp></li>

                </ul>
                <p class="p">Boolean input fields, which appear as checkbox fields at
                  runtime, are available in API version 26.0 and later.</p>
                <p class="p">Only
                  the string data type is supported for multi-select checkboxes
                  and multi-select picklist fields. Multi-select fields are
                  available in API version 26.0 and later.</p>
                <p class="p">Date/time input
                  fields are available in API version 43.0 and later.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e14436" data-title="Field Type">
                <a class="xref" href="#FlowDataTypeMapping">FlowDataTypeMapping</a>[]
              </td>

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

            </tr>

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

              <td class="entry" headers="d950606e14436" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e14439" data-title="Description">The name of the FlowChoice element to use as the default value
                for the screen component. Supported for these types of screen components.<ul class="ul bulletList">
                  <li class="li">RadioButtons</li>

                  <li class="li">DropdownBox</li>

                  <li class="li">MultiSelectCheckboxes</li>

                  <li class="li">MultiSelectPicklist</li>

                </ul>
                <p class="p">For DropdownBox field types only, if
                  <span class="keyword parmname">defaultSelectedChoiceReference</span> is empty
                  or null, the reference at index 0 of
                  <span class="keyword parmname">choiceReferences</span> is used as the default
                  value.
                </p>
                <p class="p">You can specify only one FlowChoice element as the
                  default value for multi-select checkboxes and multi-select
                  picklist fields. Multi-select fields are available in API
                  version 26.0 and later.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e14436" data-title="Field Type"><a class="xref" href="#FlowElementReferenceOrValue">FlowElementReferenceOrValue</a></td>

              <td class="entry" headers="d950606e14439" data-title="Description">The value that is used by default when the screen component
                requires users to provide input. Only supported for InputField,
                LargeTextArea, and PasswordField.</td>

            </tr>

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

              <td class="entry" headers="d950606e14436" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e14439" data-title="Description">The name of the Lightning component to display. This field is
                available in API version 42.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e14436" data-title="Field Type">
                <a class="xref" href="#FlowScreenField">FlowScreenField</a>[]
              </td>

              <td class="entry" headers="d950606e14439" data-title="Description">An array of columns to display in a section, or an array of
                fields to display in a column. This field is available in API
                version 49.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e14436" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e14439" data-title="Description">Field label that is displayed on the screen. Supports merge
                fields.</td>

            </tr>

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

              <td class="entry" headers="d950606e14436" data-title="Field Type">FlowScreenFieldType (enumeration of type string)</td>

              <td class="entry" headers="d950606e14439" data-title="Description">Required. The type of field to display on a flow screen. Valid
                values are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">DisplayText</samp></li>

                  <li class="li"><samp class="codeph nolang">InputField</samp></li>

                  <li class="li"><samp class="codeph nolang">LargeTextArea</samp></li>

                  <li class="li"><samp class="codeph nolang">PasswordField</samp></li>

                  <li class="li"><samp class="codeph nolang">RadioButtons</samp></li>

                  <li class="li"><samp class="codeph nolang">DropdownBox</samp></li>

                  <li class="li">
                    <samp class="codeph nolang">MultiSelectCheckboxes</samp>—This value is available in
                    API version 26.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">MultiSelectPicklist</samp>—This value is available in API
                    version 26.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">ComponentInstance</samp>—This
                    value is available in API version 42.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">ComponentChoice</samp> and
                    <samp class="codeph nolang">ComponentInput</samp>—This
                    value is available in API version 48.0 and later for the
                    <samp class="codeph nolang">Survey</samp>
                    <span class="keyword parmname">processType</span> value only.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Region</samp>— Specifies that
                    a screen field in a section is a column. This value is
                    available in API version 51.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">RegionContainer</samp>—Specifies that a screen field is a
                    section. This value is available in API version 51.0 and
                    later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">ObjectProvided</samp>—Specifies that a screen field is a
                    field from a Salesforce object. This value is available in
                    API version 51.0 and later.
                  </li>

                </ul>
                <p class="p">At runtime, each multi-select field stores its field value
                  as a concatenation of the user-selected choice values, separated
                  by semicolons. Any semicolons in the selected choice values are
                  removed when added to the multi-select field value.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e14436" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e14439" data-title="Description">Text that appears if the end user clicks the help icon (<a name="info_icon"><!-- --></a><img class="image" id="info_icon" src="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/dev_guides/api_meta/images/vpm_info_up.png" alt="info">)
                for the screen component. <p class="p">Supports merge fields in API version
                  26.0 and later.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e14436" data-title="Field Type">
                <a class="xref" href="#FlowScreenFieldInputParameter">FlowScreenFieldInputParameter</a>[]
              </td>

              <td class="entry" headers="d950606e14439" data-title="Description">An array of input parameters. Supported only when <samp class="codeph nolang">fieldType</samp> is <samp class="codeph nolang">ComponentInstance</samp>. <p class="p">This field is
                  available in API version 42.0 and later.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e14436" data-title="Field Type">FlowScreenFieldInputsRevisited (enumeration of type
                string)</td>

              <td class="entry" headers="d950606e14439" data-title="Description">Controls whether the flow remembers the input value if the user
                moves to any screen and then returns to the screen component. Valid
                values are: <ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">UseStoredValues</samp>—Uses
                    values from when the user last visited this screen.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">ResetValues</samp>—Refreshes
                    inputs to incorporate changes elsewhere in the flow.
                  </li>

                </ul>
                <p class="p">The default value is <samp class="codeph nolang">UseStoredValues</samp>.</p>
                <p class="p">This property applies to
                  screen components in API version 51.0 and later and to record
                  fields on flow screens in API version 57.0 and
                  later.</p>
              </td>

            </tr>

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

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

              <td class="entry" headers="d950606e14439" data-title="Description">Indicates whether the user must select a choice or provide input.
                Not supported for DisplayText or boolean inputField.</td>

            </tr>

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

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

              <td class="entry" headers="d950606e14439" data-title="Description"></td>

            </tr>

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

              <td class="entry" headers="d950606e14436" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e14439" data-title="Description">Specifies the Salesforce object field for an ObjectProvided
                field.</td>

            </tr>

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

              <td class="entry" headers="d950606e14436" data-title="Field Type">
                <a class="xref" href="#FlowScreenFieldOutputParameter">FlowScreenFieldOutputParameter</a>[]
              </td>

              <td class="entry" headers="d950606e14439" data-title="Description">An array of output parameters. Supported only when
                <span class="keyword parmname">fieldType</span> is <samp class="codeph nolang">ComponentInstance</samp> and when
                <span class="keyword parmname">storeOutputAutomatically</span> is <samp class="codeph nolang">false</samp>.<p class="p">This field is available in
                  API version 42.0 and later. </p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e14436" data-title="Field Type">FlowRegionContainerType (enumeration of type string)</td>

              <td class="entry" headers="d950606e14439" data-title="Description">Stores information about a section component header. Possible
                values include: <ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">SectionWithHeader</samp></li>

                  <li class="li"><samp class="codeph nolang">SectionWithoutHeader</samp></li>

                </ul>
                <p class="p">Available only when the component type is <samp class="codeph nolang">Section</samp>. This field is
                  available in API version 55.0 and later. </p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e14436" data-title="Field Type">int</td>

              <td class="entry" headers="d950606e14439" data-title="Description">Controls the number of digits to the right of the decimal point
                up to 17 places. If you leave this field blank or set it to zero,
                only whole numbers appear when your flow runs. <p class="p">Available only
                  when the data type is Number or Currency. Corresponds to the
                  Decimal Places field in Flow Builder.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e14436" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e14439" data-title="Description"><span class="ph">The API name of the template specified
                  by the provider. This field is available in API version 62.0 and
                  later.</span></td>

            </tr>

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

              <td class="entry" headers="d950606e14436" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e14439" data-title="Description"><span class="ph">The API name of the source that
                  provides the template. This field is available in API version
                  62.0 and later.</span></td>

            </tr>

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

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

              <td class="entry" headers="d950606e14439" data-title="Description">Indicates whether the screen component’s output parameters are
                automatically available in the flow without creating any variables.
                When the value is <samp class="codeph nolang">true</samp>, you can
                reference an output parameter by specifying the
                <span class="keyword parmname">name</span> of the screen component and the output
                parameter, such as <samp class="codeph nolang">Mailing_Address.City</samp>.<p class="p">Supported only when
                  <span class="keyword parmname">fieldType</span> is <samp class="codeph nolang">ComponentInstance</samp>.
                </p>
                <p class="p">This
                  field is available in API version 47.0 and later.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e14436" data-title="Field Type"><a class="xref" href="#FlowScreenFieldStyleProperties">FlowScreenFieldStyleProperties</a></td>

              <td class="entry" headers="d950606e14439" data-title="Description">Specifies the style properties of a screen component. <p class="p">This
                  field is available in API version 64.0 and later.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e14436" data-title="Field Type"><a class="xref" href="#FlowInputValidationRule">FlowInputValidationRule</a></td>

              <td class="entry" headers="d950606e14439" data-title="Description">A rule that’s used to validate the user input when the screen
                component is of type InputField, LargeTextArea, or
                PasswordField.</td>

            </tr>

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

              <td class="entry" headers="d950606e14436" data-title="Field Type"><a class="xref" href="#FlowVisibilityRule">FlowVisibilityRule</a></td>

              <td class="entry" headers="d950606e14439" data-title="Description">A condition-based rule that’s used to render or hide the screen
                component.<p class="p">This field is available in API version 47.0 and
                  later.</p>
              </td>

            </tr>

          </tbody>

        </table>

## FlowScreenFieldInputParameter

Defines an input parameter from the flow to the extension. It extends [FlowBaseElement](#FlowBaseElement) and inherits all its fields. FlowScreenFieldInputParameter is available in API version 42.0.

| Field Name | Field Type | Description |
| --- | --- | --- |
| name | string | Required. Unique name for the input parameter. |
| value | [FlowElementReferenceOrValue](#FlowElementReferenceOrValue) | Defines the value of the input parameter. |

## FlowScreenFieldOutputParameter

Defines an output parameter from the extension to the flow. It extends [FlowBaseElement](#FlowBaseElement) and inherits all its fields. FlowScreenFieldOutputParameter is available in API version 42.0.

| Field Name | Field Type | Description |
| --- | --- | --- |
| assignToReference | string | Required. Specifies the variable to which you want to assign the output parameter value. |
| name | string | Required. Unique name for the output parameter. |

## FlowScreenFieldStyleProperties

Defines how a screen component looks on a screen element at run time.

This metadata type is available in API version 64.0 and later.

| Field Name | Field type | Description |
| --- | --- | --- |
| styleSettings | [FlowScreenStyleSetting](#FlowScreenStyleSetting)\[\] | An array of flow screen style settings to customize the visual experience of a screen component at run time. This field is available in API version 66.0 and later. |
| width | [FlowElementReferenceOrValue](#FlowElementReferenceOrValue) | The number of columns the width of the screen component fills up in a screen element's 12-column wide spatial grid. Valid values are numbers 1 through 12. |
| verticalAlignment | [FlowElementReferenceOrValue](#FlowElementReferenceOrValue) | The vertical alignment of the screen component. Valid values are top, middle, bottom. |

## FlowScreenStyleSetting

A style setting for a flow screen or flow screen component. FlowScreenStyleSetting extends [FlowBaseElement](#FlowBaseElement) and inherits all its fields. FlowScreenStyleSetting is available in API version 66.0 and later.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e15304" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e15307" data-title="Description">The name of the screen style property such as, <samp class="codeph nolang">--slds-c-input-color-border</samp>.</td>

            </tr>

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

              <td class="entry" headers="d950606e15304" data-title="Field Type"><a class="xref" href="#FlowElementReferenceOrValue">FlowElementReferenceOrValue</a></td>

              <td class="entry" headers="d950606e15307" data-title="Description">Defines the value for the screen style property such as, <samp class="codeph nolang">&lt;stringValue&gt;#4AC7CA&lt;/stringValue&gt;</samp>.</td>

            </tr>

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

              <td class="entry" headers="d950606e15304" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e15307" data-title="Description">Specifies where the style setting is applied on a screen. Valid values:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">Container</samp></li>

                  <li class="li"><samp class="codeph nolang">Header</samp></li>

                  <li class="li"><samp class="codeph nolang">NextOrFinish</samp></li>

                  <li class="li"><samp class="codeph nolang">Previous</samp></li>

                  <li class="li"><samp class="codeph nolang">Pause</samp></li>

                </ul>
                Not supported for screen components.</td>

            </tr>

          </tbody>

        </table>

## FlowScreenTrigger

Defines an event handler for a flow screen component.

This metadata type is available in API version 59.0 and later.

| Field Name | Field Type | Description |
| --- | --- | --- |
| eventName | string | Required. The API name of the event from eventSource that the trigger listens for. |
| eventSource | string | Required. The screen field, screen field attribute, action, or action attribute where eventName takes place. |
| handlers | [FlowScreenTriggerHandler](#FlowScreenTriggerHandler)\[\] | An array of flow screen handlers to conditionally run when the configured event is recevied. |

## FlowScreenTriggerHandler

Defines conditions for a flow screen trigger handler.

This metadata type is available in API version 59.0 and later.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e15498" data-title="Field Type">
                <a class="xref" href="#FlowCondition">FlowCondition</a>[]
              </td>

              <td class="entry" headers="d950606e15501" data-title="Description">An array of conditions that must be <samp class="codeph nolang">true</samp> to trigger the handler.<p class="p">This field is available
                  in API version 63.0 and later.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e15498" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e15501" data-title="Description">Specifies logic for the conditions. Valid values are:<a name="ul_aqj_tzn_zfc"><!-- --></a>
                <ul class="ul bulletList" id="ul_aqj_tzn_zfc">
                  <li class="li">
                    <samp class="codeph nolang">and</samp>—Evaluates to
                    <samp class="codeph nolang">true</samp> only if all
                    its conditions evaluate to true
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">or</samp>—Evaluates to <samp class="codeph nolang">true</samp> if any of its
                    conditions evaluate to true
                  </li>

                  <li class="li">Advanced logic like <samp class="codeph nolang">1 AND (2 OR
                      3)</samp>—Evaluates to <samp class="codeph nolang">true</samp> if the first condition is <samp class="codeph nolang">true</samp> and either the second
                    or third condition if <samp class="codeph nolang">true</samp>. <p class="p">When you use advanced logic, the
                      string must consist of 1,000 or fewer
                      characters.</p>
                  </li>

                </ul>
                <p class="p">This field is available in API version 63.0 and
                  later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e15495" data-title="Field Name">initBehavior</td>

              <td class="entry" headers="d950606e15498" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e15501" data-title="Description">Specifies when to run screen actions after a screen loads. Valid
                values are:<a name="ul_bqj_tzn_zfc"><!-- --></a>
                <ul class="ul bulletList" id="ul_bqj_tzn_zfc">
                  <li class="li">
                    <samp class="codeph nolang">runOnLoad</samp>—Run screen
                    actions the first time a screen is visited, regardless of
                    the occurrence of any triggering events.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">runOnRevisit</samp>—Run screen
                    actions every time a screen is revisited by the user
                    clicking <strong class="ph uicontrol">Next</strong>, regardless of the
                    occurrence of any triggering events.
                  </li>

                </ul>
                <p class="p">This field is available in API version 64.0 and
                  later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e15495" data-title="Field Name">screenActionName</td>

              <td class="entry" headers="d950606e15498" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e15501" data-title="Description">Required. The API name of the FlowScreenAction to run when
                conditions are met.</td>

            </tr>

          </tbody>

        </table>

## FlowStage

A section of your flow that can be represented in the UI, such as with breadcrumbs. It extends [FlowElement](#FlowElement) and inherits all its fields.

When an interview starts, any stages where isActive is true are added to the $Flow.ActiveStages global variable, which holds a collection of stages. Each stage’s stageOrder determines the order they’re added in. The stage with the lowest stageOrder is assigned to the $Flow.CurrentStage global variable.

| Field Name | Field Type | Description |
| --- | --- | --- |
| isActive | boolean | Indicates whether the stage is active by default. |
| label | string | A user-friendly label for this stage. |
| stageOrder | int | Indicates how the stage is ordered against other stages. The stageOrder value must be unique within the flow. |

## FlowStageStep

A step resource defines a step within a stage node. This metadata type is available in API version 53.0 and later.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e15756" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e15759" data-title="Description">Required. Name of the flow associated with the step.</td>

            </tr>

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

              <td class="entry" headers="d950606e15756" data-title="Field Type">InvocableActionType (enumeration of type string)</td>

              <td class="entry" headers="d950606e15759" data-title="Description">Required. The type of the step. Valid values are:<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">stepApproval</samp>—An
                    Approval step available only for flow approval processes.
                    This value is available in API version 62.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">stepBackground</samp>—A
                    Background step available for both flow approval processes
                    and orchestrations.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">stepInteractive</samp>—An
                    Interactive step available only for orchestrations.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">stepMuleSoft</samp>—A MuleSoft
                    step available only for orchestrations.
                  </li>

                </ul>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e15756" data-title="Field Type"><a class="xref" href="#subtype_FlowStageStepAssignee">FlowStageStepAssignee</a></td>

              <td class="entry" headers="d950606e15759" data-title="Description">An array of users, groups, or queues that are assigned to
                complete the interactive step.</td>

            </tr>

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

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

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

            </tr>

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

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

              <td class="entry" headers="d950606e15759" data-title="Description">Specifies whether to run the step in rollback mode. This field is
                available in API version 650 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e15756" data-title="Field Type">
                <a class="xref" href="#subtype_FlowStageStepEntryActionInputParameter">FlowStageStepEntryActionInputParameter</a>[]
              </td>

              <td class="entry" headers="d950606e15759" data-title="Description">An array of input parameters from the step to the evaluation flow
                that are used as an entry condition for the step.</td>

            </tr>

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

              <td class="entry" headers="d950606e15756" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e15759" data-title="Description">The name of the evaluation flow used as an entry condition for
                the step.</td>

            </tr>

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

              <td class="entry" headers="d950606e15756" data-title="Field Type">
                <a class="xref" href="#subtype_FlowStageStepEntryActionOutputParameter">FlowStageStepEntryActionOutputParameter</a>[]
              </td>

              <td class="entry" headers="d950606e15759" data-title="Description">An array of output parameters from the evaluation flow to the
                step used to determine if the step can be started.</td>

            </tr>

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

              <td class="entry" headers="d950606e15756" data-title="Field Type">InvocableActionType (enumeration of type string)</td>

              <td class="entry" headers="d950606e15759" data-title="Description">The type of the evaluation flow used as a custom entry condition
                for the step. Valid values are: <ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">EvaluationFlow</samp></li>

                </ul>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e15756" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e15759" data-title="Description">Defines how the entry requirements for a step are evaluated.
                Valid values are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">And</samp></li>

                  <li class="li"><samp class="codeph nolang">Or</samp></li>

                  <li class="li"><samp class="codeph nolang">Custom logic, such as (1 AND (2
                      OR 3))</samp></li>

                  <li class="li"><samp class="codeph nolang">Formula</samp></li>

                </ul>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e15756" data-title="Field Type">
                <a class="xref" href="#FlowCondition">FlowCondition</a>[]
              </td>

              <td class="entry" headers="d950606e15759" data-title="Description">An array of requirements that must be met to start the
                step.</td>

            </tr>

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

              <td class="entry" headers="d950606e15756" data-title="Field Type">
                <a class="xref" href="#subtype_FlowStageStepExitActionInputParameter">FlowStageStepExitActionInputParameter</a>[]
              </td>

              <td class="entry" headers="d950606e15759" data-title="Description">An array of input parameters from the step to the evaluation
                flow. These parameters specify an exit condition for the
                step.</td>

            </tr>

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

              <td class="entry" headers="d950606e15756" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e15759" data-title="Description">The name of the step exit evaluation flow.</td>

            </tr>

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

              <td class="entry" headers="d950606e15756" data-title="Field Type">
                <a class="xref" href="#subtype_FlowStageStepExitActionOutputParameter">FlowStageStepExitActionOutputParameter</a>[]
              </td>

              <td class="entry" headers="d950606e15759" data-title="Description">An array of output parameters from the evaluation flow to the
                step. These parameters specify an exit condition for the
                step.</td>

            </tr>

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

              <td class="entry" headers="d950606e15756" data-title="Field Type">InvocableActionType (enumeration of type string)</td>

              <td class="entry" headers="d950606e15759" data-title="Description">The type of the evaluation flow used as a custom exit condition
                for the step. The only possible value are:<a name="ul_gyq_kft_g2c"><!-- --></a>
                <ul class="ul bulletList" id="ul_gyq_kft_g2c">
                  <li class="li"><samp class="codeph nolang">EvaluationFlow</samp></li>

                </ul>
                .
              </td>

            </tr>

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

              <td class="entry" headers="d950606e15756" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e15759" data-title="Description">Defines how the exit requirements for an interactive step are
                evaluated. Valid values are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">And</samp></li>

                  <li class="li"><samp class="codeph nolang">Or</samp></li>

                  <li class="li"><samp class="codeph nolang">Custom logic, such as (1 AND (2
                      OR 3))</samp></li>

                  <li class="li"><samp class="codeph nolang">Formula</samp></li>

                </ul>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e15756" data-title="Field Type">
                <a class="xref" href="#FlowCondition">FlowCondition</a>[]
              </td>

              <td class="entry" headers="d950606e15759" data-title="Description">An array of requirements to be met for exiting an interactive
                step.</td>

            </tr>

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

              <td class="entry" headers="d950606e15756" data-title="Field Type">
                <a class="xref" href="#subtype_FlowStageStepInputParameter">FlowStageStepInputParameter</a>[]
              </td>

              <td class="entry" headers="d950606e15759" data-title="Description">An array of input parameters from the step to its associated
                flow.</td>

            </tr>

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

              <td class="entry" headers="d950606e15756" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e15759" data-title="Description">Required. The label for the step.</td>

            </tr>

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

              <td class="entry" headers="d950606e15756" data-title="Field Type">
                <a class="xref" href="#subtype_FlowStageStepOutputConfigParam">FlowStageStepOutputConfigParam</a>[]
              </td>

              <td class="entry" headers="d950606e15759" data-title="Description">An array of mock output values to use to debug the step in
                rollback mode. This field is available in API version 650 and
                later.</td>

            </tr>

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

              <td class="entry" headers="d950606e15756" data-title="Field Type">
                <a class="xref" href="#subtype_FlowStageStepOutputParameter">FlowStageStepOutputParameter</a>[]
              </td>

              <td class="entry" headers="d950606e15759" data-title="Description">An array of output parameters from a flow to its associated step.
              </td>

            </tr>

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

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

              <td class="entry" headers="d950606e15759" data-title="Description">Not used in API version 63.0.</td>

            </tr>

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

              <td class="entry" headers="d950606e15756" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e15759" data-title="Description">Indicates whether an approval step assigned to a group requires
                all group members to approve. Valid values are:<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">0</samp>—A single group
                    member, queue member, or delegate approves or rejects the
                    approval work item, which approves or rejects the approval
                    step.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">100</samp>—All group members
                    or their delegates approve their child approval work items
                    to approve the step. If any group member or delegate rejects
                    their child approval work item, the approval step is
                    rejected.
                  </li>

                </ul>
                This field is available in API version 67.0 and later.</td>

            </tr>

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

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

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

            </tr>

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

              <td class="entry" headers="d950606e15756" data-title="Field Type">FlowElementSubtype (enumeration of type string)</td>

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

            </tr>

          </tbody>

        </table>

## FlowStageStepAssignee

An assignee associated with an Interactive step. Applicable only for interactive steps. This metadata type is available in API version 53.0 and later.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e16237" data-title="Field Type"><a class="xref" href="#FlowElementReferenceOrValue">FlowElementReferenceOrValue</a></td>

              <td class="entry" headers="d950606e16240" data-title="Description">Names of the user, group, or queue assigned to the interactive
                step.</td>

            </tr>

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

              <td class="entry" headers="d950606e16237" data-title="Field Type">FlowStageStepAssigneeType (enumeration of type string)</td>

              <td class="entry" headers="d950606e16240" data-title="Description">Required. The type of the assignee associated with the
                interactive step. Valid values are: <ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">Group</samp></li>

                  <li class="li"><samp class="codeph nolang">Queue</samp></li>

                  <li class="li"><samp class="codeph nolang">User</samp></li>

                  <li class="li">
                    <samp class="codeph nolang">invalid—</samp> This value is
                    available in API version 61.0 and later.
                  </li>

                </ul>
              </td>

            </tr>

          </tbody>

        </table>

## FlowStageStepEntryActionInputParameter

Defines an input parameter from the step to its associated evaluation flow. It extends [FlowBaseElement](#FlowBaseElement) and inherits all its fields. This metadata type is available in API version 53.0 and later.

| Field Name | Field Type | Description |
| --- | --- | --- |
| name | string | Required. The unique name for the input parameter of the evaluation flow used by a step as an entry condition. |
| value | [FlowElementReferenceOrValue](#FlowElementReferenceOrValue) | Defines the value of the input parameter of the evaluation flow used by a step as an entry condition. |

## FlowStageStepEntryActionOutputParameter

Defines an output parameter from an evaluation flow used to determine if the step meets entry criteria. It extends [FlowBaseElement](#FlowBaseElement) and inherits all its fields. This metadata type is available in API version 53.0 and later.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e16398" data-title="Field Type">string</td>

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

            </tr>

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

              <td class="entry" headers="d950606e16398" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e16401" data-title="Description">Required. A unique name for the output parameter of the
                evaluation flow used by a step as an entry condition. Valid values are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">isOrchestrationConditionMet</samp></li>

                </ul>
              </td>

            </tr>

          </tbody>

        </table>

## FlowStageStepExitActionInputParameter

Defines an input parameter from the stage or step to its associated evaluation flow. It extends [FlowBaseElement](#FlowBaseElement) and inherits all its fields. This metadata type is available in API version 53.0 and later.

| Field Name | Field Type | Description |
| --- | --- | --- |
| name | string | Required. A unique name for the input parameter of the evaluation flow used by a stage or step as an exit condition. |
| value | [FlowElementReferenceOrValue](#FlowElementReferenceOrValue) | Defines the value of the input parameter of the evaluation flow used by a stage or step as an exit condition. |

## FlowStageStepExitActionOutputParameter

Defines an output parameter from an evaluation flow used to determine if the stage or step meets exit criteria. It extends [FlowBaseElement](#FlowBaseElement) and inherits all its fields. This metadata type is available in API version 53.0 and later.

| Field Name | Field Type | Description |
| --- | --- | --- |
| assignToReference | string | Reserved for future use. |
| name | string | Required. A unique name for the output parameter of the evaluation flow used by a stage or step as an exit condition. The only possible value is isOrchestrationConditionMet. |

## FlowStageStepInputParameter

Defines an input parameter from the step to the flow. It extends [FlowBaseElement](#FlowBaseElement) and inherits all its fields. This metadata type is available in API version 53.0 and later.

| Field Name | Field Type | Description |
| --- | --- | --- |
| name | string | Required. Unique name for the input parameter for a flow associated with the step. |
| value | [FlowElementReferenceOrValue](#FlowElementReferenceOrValue) | Defines the value of the input parameter of the flow associated with a step. |

## FlowStageStepOutputConfigParam

Defines a mock output value for a step. It extends [FlowBaseElement](#FlowBaseElement) and inherits all its fields. This metadata type is available in API version 65.0 and later.

<table class="featureTable sort_table" summary=""><tbody class="tbody"><tr><td class="entry">Field Name</td><td class="entry">Field Type</td><td class="entry">Description</td></tr><tr><td class="entry"><span class="keyword parmname">name</span></td><td class="entry">string</td><td class="entry">Required. Unique name for the mock output value associated with the step.</td></tr><tr><td class="entry"><span class="keyword parmname">value</span></td><td class="entry"><a class="xref" href="#FlowElementReferenceOrValue">FlowElementReferenceOrValue</a></td><td class="entry">Required. Defines the value of the mock output value. For enhanced security and data privacy, don't store personal identifiable information in this field.</td></tr></tbody></table>

## FlowStageStepOutputParameter

Defines an output parameter from the step to the flow. It extends [FlowBaseElement](#FlowBaseElement) and inherits all its fields. This metadata type is available in API version 53.0 and later.

| Field Name | Field Type | Description |
| --- | --- | --- |
| assignToReference | string | Reserved for future use. |
| name | string | Required. Unique name for the output parameter for a flow associated with the step. |

## FlowStart

Represents the flow’s Start element, which specifies how the flow starts. In an autolaunched flow, the Start element also defines when and how frequently to run the flow. To run the flow only for specific records, the Start element can define filter criteria.

FlowStart extends [FlowNode](#FlowNode) and inherits all its fields except name and label. This metadata type is available in API version 47.0 and later.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e16828" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e16831" data-title="Description">The ID of the activation that triggers the flow. This field is
                available in API version 63.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e16828" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e16831" data-title="Description">The name of the activation template that determines the contact
                point for each channel configured in the activation template for a
                segment-triggered flow. This field is available in 66.0 and
                later.</td>

            </tr>

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

              <td class="entry" headers="d950606e16828" data-title="Field Type">
                <a class="xref" href="#FlowCapability">FlowCapability</a>[]
              </td>

              <td class="entry" headers="d950606e16831" data-title="Description">An array of capabilities that can pass data with the flow. Only
                one capability is supported in API version 60.0 and later. This
                field is available in API version 60.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e16828" data-title="Field Type"><a class="xref" href="#FlowConnector">FlowConnector</a></td>

              <td class="entry" headers="d950606e16831" data-title="Description">Specifies which element to execute first.</td>

            </tr>

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

              <td class="entry" headers="d950606e16828" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e16831" data-title="Description">Defines how the filtering conditions are evaluated. Valid values
                are:<a name="ul_wh2_m3y_jgc"><!-- --></a>
                <ul class="ul bulletList" id="ul_wh2_m3y_jgc">
                  <li class="li"><samp class="codeph nolang">And</samp></li>

                  <li class="li"><samp class="codeph nolang">Or</samp></li>

                </ul>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e16828" data-title="Field Type">
                <a class="xref" href="#FlowCondition">FlowCondition</a>[]
              </td>

              <td class="entry" headers="d950606e16831" data-title="Description">An array of conditions that must be true for the event to
                trigger.</td>

            </tr>

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

              <td class="entry" headers="d950606e16828" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e16831" data-title="Description">The data graph associated with the flow. Reference fields from
                this data graph throughout the flow. This field is available in API
                version 61.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e16828" data-title="Field Type">
                <a class="xref" href="#FlowDataLookup">FlowDataLookup</a>[]
              </td>

              <td class="entry" headers="d950606e16831" data-title="Description">An array of data lookups that define how to retrieve related
                records at run time. This field is available in API version 68.0 and
                later.</td>

            </tr>

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

              <td class="entry" headers="d950606e16828" data-title="Field Type">
                <a class="xref" href="#FlowDataTypeMapping">FlowDataTypeMapping</a>[]
              </td>

              <td class="entry" headers="d950606e16831" data-title="Description">An array of data type mappings for input and output values that
                have the generic sObject data type. This field is available in API
                version 63.0 and later.</td>

            </tr>

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

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

              <td class="entry" headers="d950606e16831" data-title="Description">If set to <samp class="codeph nolang">true</samp>, conditions
                evaluate to <samp class="codeph nolang">true</samp> only if the
                record didn’t meet the required conditions before the triggering
                update but now meets the conditions after the update. This field is
                available in API version 50.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e16828" data-title="Field Type">FlowEntryType (enumeration of type string)</td>

              <td class="entry" headers="d950606e16831" data-title="Description">Specifies when a unified individual can join a flow. Valid values are:<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">AfterCompletion</samp>—Unified
                    individuals can join the flow only after they complete all
                    previous flow runs of the same flow definition.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Always</samp>—Unified
                    individuals can always join the flow.
                  </li>

                  <li class="li">Never—Unified individuals can never reenter the flow. This
                    value is available in API version 63.0 and later.</li>

                </ul>
                <p class="p">This field is available in API version 60.0 and
                  later.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e16828" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e16831" data-title="Description">The name of the automation event that triggers the automation
                event-triggered flow. Valid values are: <ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">trgrOnSmsSubscription</samp></li>

                  <li class="li"><samp class="codeph nolang">trgrOnEmailSubscription</samp></li>

                  <li class="li"><samp class="codeph nolang">trgrOnOrderPlacement</samp></li>

                  <li class="li">The API name of a form </li>

                  <li class="li">The API name of an external service</li>

                </ul>
                <p class="p">This field is available in API version 61.0 and
                  later.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e16828" data-title="Field Type">InvocableActionType (enumeration of type string)</td>

              <td class="entry" headers="d950606e16831" data-title="Description">The type of the automation event that triggers the automation
                event-triggered flow. Valid values are: <ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">exploreConversation</samp>—Available in API version 61.0
                    and later.
                  </li>

                  <li class="li"><samp class="codeph nolang">externalEvent</samp></li>

                  <li class="li"><samp class="codeph nolang">processWebStoreUserRgstr</samp></li>

                  <li class="li"><samp class="codeph nolang">trgrOnB2cCartAbandoned</samp></li>

                  <li class="li">
                    <samp class="codeph nolang">trgrOnCustomEvent</samp>—Available in API version 64.0
                    and later.
                  </li>

                  <li class="li"><samp class="codeph nolang">trgrOnEmailBounceEngagement</samp></li>

                  <li class="li"><samp class="codeph nolang">trgrOnEmailLinkClickEngagement</samp></li>

                  <li class="li"><samp class="codeph nolang">trgrOnEmailOpenEngagement</samp></li>

                  <li class="li"><samp class="codeph nolang">trgrOnEmailSubscription</samp></li>

                  <li class="li"><samp class="codeph nolang">trgrOnFormSubmission</samp></li>

                  <li class="li"><samp class="codeph nolang">trgrOnOrderPlacement</samp></li>

                  <li class="li"><samp class="codeph nolang">trgrOnPostOrdMktCmpnEngagement</samp></li>

                  <li class="li">
                    <samp class="codeph nolang">trgrOnReferralEventSubmission</samp>—Available in API
                    version 65.0 and later.
                  </li>

                  <li class="li"><samp class="codeph nolang">trgrOnSmsDeliveryFailureEngagement</samp></li>

                  <li class="li"><samp class="codeph nolang">trgrOnSmsLinkClickEngagement</samp></li>

                  <li class="li"><samp class="codeph nolang">trgrOnSmsResponseEngagement</samp></li>

                  <li class="li"><samp class="codeph nolang">trgrOnSmsSubscription</samp></li>

                  <li class="li">
                    <samp class="codeph nolang">trgOnVoucherStsChgOtbdEngmt</samp>—Available in API
                    version 65.0 and later.
                  </li>

                  <li class="li"><samp class="codeph nolang">trgrOnWebCartAbandoned</samp></li>

                  <li class="li"><samp class="codeph nolang">trgrOnWhatsAppDeliveredEngagement</samp></li>

                  <li class="li"><samp class="codeph nolang">trgrOnWhatsAppDlvrFailureEngmt</samp></li>

                  <li class="li"><samp class="codeph nolang">trgrOnWhatsAppLinkClickEngmt</samp></li>

                  <li class="li"><samp class="codeph nolang">trgrOnWhatsAppReadEngagement</samp></li>

                  <li class="li"><samp class="codeph nolang">trgrOnWhatsAppResponseEngmt</samp></li>

                  <li class="li"><samp class="codeph nolang">trgrOnWhatsAppSubscription</samp></li>

                </ul>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e16828" data-title="Field Type"><a class="xref" href="#FlowActionCall">FlowActionCall</a></td>

              <td class="entry" headers="d950606e16831" data-title="Description">The invocable action in the Start element of a broadcast flow.
                This field is available in 66.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e16828" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e16831" data-title="Description">A formula that’s used to filter what records execute the flow
                during a save. Available only in record-triggered flows. This field
                is available in API version 55.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e16828" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e16831" data-title="Description">The filter logic that’s applied to the filter condition
                requirements. To require all conditions, use <samp class="codeph nolang"> AND</samp>. To require any conditions,
                use <samp class="codeph nolang">OR</samp>. For custom condition
                logic, enter the entire logic string, for example <samp class="codeph nolang">1 AND 2 OR (3 AND 4)</samp>. This field is
                available in API version 50.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e16828" data-title="Field Type">
                <a class="xref" href="#FlowRecordFilter">FlowRecordFilter</a>[]
              </td>

              <td class="entry" headers="d950606e16831" data-title="Description">An array of filters to apply when retrieving records from the
                database. For example, filter accounts to include only the records
                that haven’t been updated in the last 4 weeks.</td>

            </tr>

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

              <td class="entry" headers="d950606e16828" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e16831" data-title="Description">Specifies who to run the flow as. Possible values are: <ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">TriggeringUser</samp>—Run the
                    flow as the user that triggered the flow.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">DefaultWorkflowUser</samp>—Run
                    the flow as the default workflow user.
                  </li>

                </ul>
                This field is available in API version 60.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e16828" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e16831" data-title="Description">Required only for form-triggered flows. The content key value for
                the form used to trigger the flow. This field is available in API
                version 59.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e16828" data-title="Field Type">
                <a class="xref" href="#FlowStartInputParameter">FlowStartInputParameter</a>[]
              </td>

              <td class="entry" headers="d950606e16831" data-title="Description">An array of inputs to the Start element.</td>

            </tr>

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

              <td class="entry" headers="d950606e16828" data-title="Field Type">int</td>

              <td class="entry" headers="d950606e16831" data-title="Description">The maximum number of interviews to execute in a single batch for
                a schedule-triggered flow, from <samp class="codeph nolang">1</samp> to <samp class="codeph nolang">200</samp>.
                Default is <samp class="codeph nolang">200</samp>. This field is
                available in API version 67.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e16828" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e16831" data-title="Description">The object whose records you want to retrieve from the database.
                A flow interview starts for each record that meets the filter
                conditions.</td>

            </tr>

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

              <td class="entry" headers="d950606e16828" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e16831" data-title="Description">A comma-separated list of channels used to choose the individual
                in the segment-triggered flow. The flow ranks these channels to
                select an individual. Valid values are: <samp class="codeph nolang">Email</samp>, <samp class="codeph nolang">Phone</samp>. <p class="p">
                  If the flow finds contact points for both, it uses the
                  higher-ranked channel. For example, if the list is <samp class="codeph nolang">Phone</samp>, <samp class="codeph nolang">Email</samp> and both exist, the flow
                  selects the individual associated with the phone. This field is
                  available in 66.0 and later.</p>

              </td>

            </tr>

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

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

              <td class="entry" headers="d950606e16831" data-title="Description">Indicates whether to republish the segment and update segment
                membership before the flow runs or on the segment’s Data Cloud
                publish schedule. When the value is <samp class="codeph nolang">true</samp>, the segment is&nbsp;immediately republished before
                the flow runs, and ignores the segment's publish schedule. When the
                value is <samp class="codeph nolang">false</samp>, the segment is
                republished on the segment's Data Cloud publish schedule, but the
                segment isn't republished if the schedule is set to <samp class="codeph nolang">Do not refresh</samp>.<p class="p">The default value
                  is <samp class="codeph nolang">false</samp>.</p>
                <p class="p">This field
                  is available in API version 60.0 and later.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e16828" data-title="Field Type">RecordTriggerType (enumeration of type string)</td>

              <td class="entry" headers="d950606e16831" data-title="Description">Specifies what type of record changes can start the flow.
                Possible values are:<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">Create</samp>—When a record is
                    created.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Update</samp>—When a record is
                    updated.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">CreateAndUpdate</samp>—When a
                    record is created and updated.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Delete</samp>—When a record is
                    deleted. This value is available in API version 50.0 and
                    later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">None</samp>—For flows that
                    aren’t record-triggered flows. This value is available in
                    API version 55.0 and later.
                  </li>

                </ul>
                <p class="p">Available only when <span class="keyword parmname">triggerType</span> is
                  <samp class="codeph nolang">RecordBeforeSave</samp> or
                  <samp class="codeph nolang">DataCloudDataChange</samp>.
                  This field is available in API version 48.0 and
                  later.
                </p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e16828" data-title="Field Type"><a class="xref" href="#FlowSchedule">FlowSchedule</a></td>

              <td class="entry" headers="d950606e16831" data-title="Description">Required when <span class="keyword parmname">triggerType</span> is <samp class="codeph nolang">Scheduled</samp>. Specifies when and how
                frequently the flow runs.</td>

            </tr>

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

              <td class="entry" headers="d950606e16828" data-title="Field Type">
                <a class="xref" href="#FlowScheduledPath">FlowScheduledPath</a>[]
              </td>

              <td class="entry" headers="d950606e16831" data-title="Description">Specifies the flow’s scheduled paths. This field is available in
                API version 51.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e16828" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e16831" data-title="Description">The segment used to trigger the flow. This field is available in
                API version 56.0 and later.</td>

            </tr>

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

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

              <td class="entry" headers="d950606e16831" data-title="Description">Indicates whether a segment-triggered flow sends a message to
                only one contact per individual (<samp class="codeph nolang">true</samp>) or multiple contacts (<samp class="codeph nolang">false</samp>). The default value is
                (<samp class="codeph nolang">false</samp>). If
                <span class="keyword parmname">activationTemplate</span> is set, this field must
                be <samp class="codeph nolang">true</samp>. This field is
                available in 66.0 and later.
              </td>

            </tr>

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

              <td class="entry" headers="d950606e16828" data-title="Field Type">string</td>

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

            </tr>

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

              <td class="entry" headers="d950606e16828" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e16831" data-title="Description">The API name of the data graph that includes the data model
                object that triggers the automation event-triggered flow. This field
                is available in API version 63.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e16828" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e16831" data-title="Description">The Data Cloud path to the data model object that triggers the
                automation event-triggered flow. This field is available in API
                version 63.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e16828" data-title="Field Type">FlowTriggerType (enumeration of type string)</td>

              <td class="entry" headers="d950606e16831" data-title="Description">Specifies what causes the flow to run. If you exclude this field,
                the flow has no trigger and starts only when a user or app launches
                the flow. Possible

                values are:<a name="ul_mpz_m3l_lmb"><!-- --></a>
                <ul class="ul bulletList" id="ul_mpz_m3l_lmb">
                  <li class="li">
                    <samp class="codeph nolang">Activation</samp>—The flow
                    starts when an activation is published. This value is
                    available in API version 63.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">AutomationEvent</samp>—The
                    flow starts when an automation event such as an SMS
                    subscription occurs. This value is available in API version
                    62.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Capability</samp>—When
                    <span class="keyword parmname">capabilityTypes</span> is set, the flow
                    starts when the capability is run. This value is available
                    in API version 60.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">DataCloudDataChange</samp>—
                    The flow starts when data model object (DMO) or calculated
                    insight object (CIO) conditions are met. This value is
                    available in API version 59.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">DataGraphDataChange</samp>—
                    The flow starts when conditions are met in the specified
                    data graph field. This value is available in API version
                    63.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">EventDrivenJourney</samp>—Reserved for internal use.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">ExternalSystemChange</samp>—The flow starts when a
                    relevant change is detected in an external system. This
                    value is available in API version 63.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">IndivRelatedRecord</samp>—The
                    flow starts when an object or an object with fields related
                    to an individual is created or updated. This value is
                    available in API version 66.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">PlatformEvent</samp>—The flow
                    starts when a platform event message is received. This value
                    is available in API version 49.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">RecordAfterSave</samp>—The
                    flow starts after a record is saved. This value is available
                    in API version 49.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">RecordBeforeDelete</samp>—Deleting a record triggers an
                    autolaunched flow before the record is deleted from the
                    database. This value is available in API version 50.0 and
                    later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">RecordBeforeSave</samp>—Creating and/or updating a record
                    triggers an autolaunched flow to make more updates to that
                    record before it’s saved to the database. This value is
                    available in API version 48.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Scheduled</samp>—The flow
                    starts at the scheduled time. This value is available in API
                    version 47.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">ScheduledJourney</samp>— The
                    flow starts only at the scheduled time and frequency. This
                    value is available in API version 49.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Segment</samp>— At the
                    scheduled time, the flow send emails to individuals included
                    in the chosen segment. This value is available in API
                    version 56.0 and later.
                  </li>

                </ul>
                <p class="p">Available only when <span class="keyword parmname">processType</span> is
                  <samp class="codeph nolang">AutoLaunchedFlow</samp> or
                  <samp class="codeph nolang">PromptFlow</samp>. This field
                  is available in API version 47.0 and later.
                </p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e16828" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e16831" data-title="Description">
                <p class="p">Specifies the version of the automation event.</p>

                <p class="p">This field is available in API version 65.0 and later.</p>

              </td>

            </tr>

          </tbody>

        </table>

## FlowCapability

Defines the data structure of a capability. When the capability is invoked, it triggers the flow to run and data is passed between the flow and capability. It extends [FlowElement](#FlowElement) and inherits all of its fields. This metadata type is available in API version 60.0 and later.

| Field Name | Field Type | Description |
| --- | --- | --- |
| capabilityName | string | Required. The specified capability that the flow integrates with. The valid format is Name://Name, for example, PromptBuilder://SalesEmail |
| inputs | [FlowCapabilityInput](#FlowCapabilityInput)\[\] | An array of capability inputs. The flow sets the input values and passes the data to the capability. |

## FlowCapabilityInput

Defines the data structure of a capability input. It extends [FlowElement](#FlowElement) and inherits all of its fields. This metadata type is available in API version 60.0 and later.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e17809" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e17812" data-title="Description">Required. The input name is the same for the capability and the
                flow.</td>

            </tr>

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

              <td class="entry" headers="d950606e17809" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e17812" data-title="Description">The data type of the capability input. Valid types are: <ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">Boolean</samp>—This value is
                    available in API version 61.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Currency</samp>—This value is
                    available in API version 61.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Date</samp>—This value is
                    available in API version 61.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Number</samp>—This value is
                    available in API version 61.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">sObject</samp>—This value
                    corresponds to a record variable. This value is available in
                    API version 60.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">String</samp>—This value is
                    available in API version 61.0 and later.
                  </li>

                </ul>

              </td>

            </tr>

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

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

              <td class="entry" headers="d950606e17812" data-title="Description">Required. Indicates whether the input is a collection of values.
                The default value is <samp class="codeph nolang">false</samp>.</td>

            </tr>

          </tbody>

        </table>

## FlowStartInputParameter

Defines an input parameter to the flow Start element. It extends [FlowBaseElement](#FlowBaseElement) and inherits all its fields. This metadata type is available in API version 62.0 and later.

| Field Name | Field Type | Description |
| --- | --- | --- |
| name | string | Required. The unique name for the input parameter to the Start element. |
| value | [FlowElementReferenceOrValue](#FlowElementReferenceOrValue) | Defines the value of the input parameter to the Start element. |

## FlowStep

Steps function as placeholders when you’re building a flow. It extends [FlowNode](#FlowNode) and inherits all its fields.

| Field Name | Field Type | Description |
| --- | --- | --- |
| connectors | [FlowConnector](#FlowConnector)\[\] | Specifies which node to execute after the step node. |

## FlowSubflow

A subflow element references another flow, which it calls at run time. The flow that contains the subflow element is referred to as the parent flow. FlowSubflow extends [FlowNode](#FlowNode) and inherits all its fields. It’s available in API version 25.0 and later.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e18060" data-title="Field Type"><a class="xref" href="#FlowConnector">FlowConnector</a></td>

              <td class="entry" headers="d950606e18063" data-title="Description">Specifies which node to execute after the subflow.</td>

            </tr>

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

              <td class="entry" headers="d950606e18060" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e18063" data-title="Description">References the flow to call at runtime. The value must be an API
                name of a flow and it can’t contain an appended hyphen and version
                number.</td>

            </tr>

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

              <td class="entry" headers="d950606e18060" data-title="Field Type">
                <a class="xref" href="#FlowSubflowInputAssignment">FlowSubflowInputAssignment</a>[]
              </td>

              <td class="entry" headers="d950606e18063" data-title="Description">An array of input variable assignments that are set at the start
                of the flow.</td>

            </tr>

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

              <td class="entry" headers="d950606e18060" data-title="Field Type">
                <a class="xref" href="#FlowSubflowOutputAssignment">FlowSubflowOutputAssignment</a>[]
              </td>

              <td class="entry" headers="d950606e18063" data-title="Description">An array of output variable assignments that are set at the end
                of the flow.</td>

            </tr>

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

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

              <td class="entry" headers="d950606e18063" data-title="Description">Indicates whether the subflow’s output parameters are
                automatically available in the flow without creating any variables.
                When the value is <samp class="codeph nolang">true</samp>, you can
                reference an output parameter by specifying the API name of the
                subflow in the flow. When the value is <samp class="codeph nolang">false</samp>, create variables manually to store output
                values from the subflow. The default value is <samp class="codeph nolang">false</samp>.<p class="p">This field is available in
                  API version 49.0 and later.</p>
              </td>

            </tr>

          </tbody>

        </table>

## FlowSubflowInputAssignment

Assigns an element or value from the parent flow to a variable in the referenced flow. Input assignments occur when the subflow calls the referenced flow. It extends [FlowBaseElement](#FlowBaseElement) and inherits all its fields. It’s available in API version 25.0 and later.

| Field Name | Field Type | Description |
| --- | --- | --- |
| name | string | Required. Unique name for the variable in the referenced flow. |
| value | [FlowElementReferenceOrValue](#FlowElementReferenceOrValue) | Defines the value to assign to the variable. |

## FlowSubflowOutputAssignment

Assigns the value of a variable from the referenced flow to a variable in the parent flow. Output assignments occur when the referenced flow is finished running. It extends [FlowBaseElement](#FlowBaseElement) and inherits all its fields. It’s available in API version 25.0 and later.

| Field Name | Field Type | Description |
| --- | --- | --- |
| assignToReference | string | Unique name for the variable in the parent flow. |
| name | string | Required. Unique name for the variable in the referenced flow. |

## FlowTransform

Defines a node that can dynamically transform the value of source data to target data in the flow. It extends [FlowNode](#FlowNode) and inherits all of its fields. This metadata type is available in API version 59.0 and later.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e18332" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e18335" data-title="Description">The Apex class of the target data after transformation if its
                data type is <samp class="codeph nolang">Apex</samp>.</td>

            </tr>

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

              <td class="entry" headers="d950606e18332" data-title="Field Type">
                <a class="xref" href="#FlowConnector">FlowConnector</a>[]
              </td>

              <td class="entry" headers="d950606e18335" data-title="Description">Specifies which node to execute after this data
                transformation.</td>

            </tr>

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

              <td class="entry" headers="d950606e18332" data-title="Field Type">FlowDataType (enumeration of type string)</td>

              <td class="entry" headers="d950606e18335" data-title="Description">Required. Specifies the data type of the transformed data. In
                Flow Builder, it corresponds to the target data in the Transform
                element. Valid types are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">Apex</samp></li>

                  <li class="li">
                    <samp class="codeph nolang">Boolean</samp>—This value is
                    available in API version 62.0.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Currency</samp>—This value is
                    available in API version 62.0.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Date</samp>—This value is
                    available in API version 62.0.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">DateTime</samp>—This value is
                    available in API version 62.0.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Number</samp>—This value is
                    available in API version 62.0.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">String</samp>—This value is
                    available in API version 62.0.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">sObject</samp>—This value
                    corresponds to a record variable.
                  </li>

                  <li class="li"><samp class="codeph nolang">Time</samp></li>

                </ul>
              </td>

            </tr>

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

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

              <td class="entry" headers="d950606e18335" data-title="Description">Indicates whether the variable is a collection of values. The
                default value is <samp class="codeph nolang">false</samp>.</td>

            </tr>

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

              <td class="entry" headers="d950606e18332" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e18335" data-title="Description">Object type of this variable resource if its data type is <samp class="codeph nolang">sObject</samp>.</td>

            </tr>

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

              <td class="entry" headers="d950606e18332" data-title="Field Type">int</td>

              <td class="entry" headers="d950606e18335" data-title="Description">Controls the number of digits to the right of the decimal point
                up to 17 places. If you leave this field blank or set it to zero,
                only whole numbers appear when your flow runs. <p class="p">Corresponds to the
                  Decimal Places field in Flow Builder.</p>
              </td>

            </tr>

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

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

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

            </tr>

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

              <td class="entry" headers="d950606e18332" data-title="Field Type">
                <a class="xref" href="#FlowTransformValue">FlowTransformValue</a>[]
              </td>

              <td class="entry" headers="d950606e18335" data-title="Description">An array of values for data transformation</td>

            </tr>

          </tbody>

        </table>

## FlowTransformValue

Defines the values for transforming specific data in the flow. It extends [FlowBaseElement](#FlowBaseElement) and inherits all its fields. This metadata type is available in API version 59.0 and later.

| Field Name | Field Type | Description |
| --- | --- | --- |
| transformValueActions | [FlowTransformValueAction](#FlowTransformValueAction)\[\] | An array of actions for data transformation |
| transformValueName | string | Reserved for future use. |
| transformValueLabel | string | Reserved for future use. |
| transformValueDescription | string | Reserved for future use. |

## FlowTransformValueAction

Defines the data and actions to transform in the flow. It extends [FlowBaseElement](#FlowBaseElement) and inherits all its fields. This metadata type is available in API version 59.0 and later.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e18641" data-title="Field Type">string</td>

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

            </tr>

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

              <td class="entry" headers="d950606e18641" data-title="Field Type">InvocableActionType (enumeration of type string)</td>

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

            </tr>

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

              <td class="entry" headers="d950606e18641" data-title="Field Type">string</td>

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

            </tr>

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

              <td class="entry" headers="d950606e18641" data-title="Field Type">string</td>

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

            </tr>

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

              <td class="entry" headers="d950606e18641" data-title="Field Type">
                <a class="xref" href="#FlowTransformValueActionInputParameter">FlowTransformValueActionInputParameter</a>[]
              </td>

              <td class="entry" headers="d950606e18644" data-title="Description">An array of input parameters for data transformation. This field
                is available in API version 60.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e18641" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e18644" data-title="Description">The API name of the field for transformed data in a data
                transformation mapping. In Flow Builder, it corresponds to the
                target data field in the Transform element.</td>

            </tr>

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

              <td class="entry" headers="d950606e18641" data-title="Field Type">FlowTransformValueActionType (enumeration of type string)</td>

              <td class="entry" headers="d950606e18644" data-title="Description">Required. The type of transformation from source data to target
                data. Valid types are:<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">Count</samp>—Calculates the
                    number of items in a source collection.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">GetItemByIndex</samp>—Reserved
                    for future use.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">InnerJoin</samp>—Joins
                    selected data from two source collections that are stored in
                    a target collection in a flow. This value is available in
                    API version 63.0 and later. See
                    <span class="keyword parmname">complexValueType</span> on <a class="xref" href="#FlowElementReferenceOrValue">FlowElementReferenceOrValue</a>.
                    <samp class="codeph nolang">InnerJoin</samp> isn't a
                    valid value for <a class="xref" href="#FlowInlineTransform">FlowInlineTransform</a>.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">InvocableAction</samp>—Reserved for future use.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Map</samp>—Specifies a mapping
                    between the datasets in flows. In Flow Builder, it
                    corresponds to the mapping between source data fields and
                    target data fields.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Sum</samp>—Adds the numeric
                    values of a field on each item in a collection.
                  </li>

                </ul>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e18641" data-title="Field Type"><a class="xref" href="#FlowElementReferenceOrValue">FlowElementReferenceOrValue</a></td>

              <td class="entry" headers="d950606e18644" data-title="Description">Defines the value of the transformed data. In Flow Builder, the
                value of this field corresponds to the result of the target data
                field in the Transform element.</td>

            </tr>

          </tbody>

        </table>

## FlowTransformValueActionInputParameter

Defines the input parameters of the source data for data transformation. This metadata type is available in API version 60.0 and later.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e18837" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e18840" data-title="Description">A key that specifies the configuration of input parameters for
                this data transformation when <span class="keyword parmname">transformType</span> is
                set to <samp class="codeph nolang">Sum</samp> or <samp class="codeph nolang">Count</samp>. Valid values are: <ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">aggregationField</samp>—The
                    field on each item in a source collection that’s used to
                    calculate the transformed value.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">aggregationValues</samp>—The
                    source collection that’s used to calculate the transformed
                    value.
                  </li>

                </ul>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e18837" data-title="Field Type"><a class="xref" href="#FlowElementReferenceOrValue">FlowElementReferenceOrValue</a></td>

              <td class="entry" headers="d950606e18840" data-title="Description">Defines the value of the specified key in
                <span class="keyword parmname">name</span>.
              </td>

            </tr>

          </tbody>

        </table>

## FlowTextTemplate

Defines a text template that can be used throughout the flow. It extends [FlowElement](#FlowElement) and inherits all its fields.

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



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

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

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

            </tr>

          </thead>

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

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

              <td class="entry" headers="d950606e18935" data-title="Description">If set to <samp class="codeph nolang">true</samp>, the flow
                resource remembers the View as Plain Text setting used for the text
                template after the flow resource is saved. If set to <samp class="codeph nolang">false</samp>, the flow resource uses the
                View as Rich Text setting.<p class="p">The default value is <samp class="codeph nolang">false</samp>.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e18932" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e18935" data-title="Description">Actual text of the template. Supports merge fields.</td>

            </tr>

          </tbody>

        </table>

## FlowValueMappingType

Defines the specific data transformation type that converts the value of a source action output parameter in valueMappingKey before assigning the result to the target output parameter in valueMappingTarget.

| Field Name | Field Type | Description |
| --- | --- | --- |
| FirstEntry | string | This configuration extracts the first item's object in valueMappingKey and assigns it to the target output parameter in valueMappingTarget. |

## FlowVariable

With variables, creates updatable values to use in the flow. FlowVariable extends [FlowElement](#FlowElement) and inherits all its fields.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e19077" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e19080" data-title="Description">The Apex class of this variable if its data type is <samp class="codeph nolang">Apex</samp>. This field is available in
                API version 46.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e19077" data-title="Field Type">FlowDataType (enumeration of type string)</td>

              <td class="entry" headers="d950606e19080" data-title="Description">Required. Valid types are:<a name="FlowDataType_ext_values"><!-- --></a>
                <ul class="ul bulletList" id="FlowDataType_ext_values">
                  <li class="li">
                    <samp class="codeph nolang">Apex</samp>—This value is
                    available in API version 46.0 and later.
                  </li>

                  <li class="li"><samp class="codeph nolang">Boolean</samp></li>

                  <li class="li"><samp class="codeph nolang">Currency</samp></li>

                  <li class="li"><samp class="codeph nolang">Date</samp></li>

                  <li class="li">
                    <samp class="codeph nolang">DateTime</samp>—This value is
                    available in API version 30.0 and later.
                  </li>

                  <li class="li"><samp class="codeph nolang">Number</samp></li>

                  <li class="li">
                    <samp class="codeph nolang">Multipicklist</samp>—This
                    value is available in API version 34.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Picklist</samp>—This value is
                    available in API version 34.0 and later.
                  </li>

                  <li class="li"><samp class="codeph nolang">String</samp></li>

                  <li class="li">
                    <samp class="codeph nolang">sObject</samp>—This value
                    corresponds to a record variable.
                  </li>

                  <li class="li"><samp class="codeph nolang">Time</samp></li>

                </ul>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e19074" data-title="Field Name"><span class="keyword parmname" id="field_isCollection_name"><a name="field_isCollection_name"><!-- --></a>isCollection</span></td>

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

              <td class="entry" headers="d950606e19080" data-title="Description">
                <span class="ph" id="field_isCollection_desc"><a name="field_isCollection_desc"><!-- --></a>Indicates whether the variable
                  is a collection of values.</span> This field is available in API
                version 30.0 and later. In API version 32.0 and later, a collection
                variable can be of any data type.<p class="p">The default value is <samp class="codeph nolang">False</samp>.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e19074" data-title="Field Name"><span class="keyword parmname" id="field_isInput_name"><a name="field_isInput_name"><!-- --></a>isInput</span></td>

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

              <td class="entry" headers="d950606e19080" data-title="Description">
                <span class="ph" id="field_isInput_desc"><a name="field_isInput_desc"><!-- --></a>Indicates whether the variable can be
                  set at the start of the flow using URL parameters, Visualforce
                  controllers, or subflow inputs.</span> This field is available in
                API version 25.0 and later.<p class="p">Default value:</p>
                <ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">False</samp> for a variable
                    created in API version 25.0 and later or in the Flow Builder
                    in Summer ’12 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">True</samp> for a variable
                    created in API version 24.0 or in Flow Builder in Spring ’12
                    and earlier.
                  </li>

                </ul>
                <p class="p">Disabling input or output access for an existing variable
                  can break the functionality of applications and pages that call
                  the flow and access the variable. For example, you can access
                  variables from URL parameters, processes, and other
                  flows.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d950606e19074" data-title="Field Name"><span class="keyword parmname" id="field_isOutput_name"><a name="field_isOutput_name"><!-- --></a>isOutput</span></td>

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

              <td class="entry" headers="d950606e19080" data-title="Description">
                <span class="ph" id="field_isOutput_desc"><a name="field_isOutput_desc"><!-- --></a>Indicates whether the variable’s
                  value can be accessed from Visualforce controllers and other
                  flows.</span> This field is available in API version 25.0 and
                later.<p class="p">Default value:</p>
                <ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">False</samp> for a variable
                    created in API version 25.0 and later or in the Flow Builder
                    in Summer ’12 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">True</samp> for a variable
                    created in API version 24.0 or in Flow Builder in Spring ’12
                    and earlier.
                  </li>

                </ul>
                <p class="p">Disabling input or output access for an existing variable
                  can break the functionality of applications and pages that call
                  the flow and access the variable. For example, you can access
                  variables from URL parameters, processes, and other
                  flows.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e19077" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e19080" data-title="Description">Object type of this variable if its data type is <samp class="codeph nolang">sObject</samp>.</td>

            </tr>

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

              <td class="entry" headers="d950606e19077" data-title="Field Type">int</td>

              <td class="entry" headers="d950606e19080" data-title="Description">Controls the number of digits to the right of the decimal point
                up to 17 places. If you leave this field blank or set it to zero,
                only whole numbers appear when your flow runs. <p class="p">Corresponds to the
                  Decimal Places field in Flow Builder.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e19077" data-title="Field Type"><a class="xref" href="#FlowElementReferenceOrValue">FlowElementReferenceOrValue</a></td>

              <td class="entry" headers="d950606e19080" data-title="Description">Default value of this variable.<p class="p">Default values aren’t supported
                  if the variable’s data type is <samp class="codeph nolang">Picklist</samp> or <samp class="codeph nolang">Multipicklist</samp>.</p>
              </td>

            </tr>

          </tbody>

        </table>

## FlowVisibilityRule

Visibility rules render a flow screen component when visibility rule conditions are met. Hides a flow screen component when visibility rule conditions aren’t met. This metadata type is available in API version 47.0 and later.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e19334" data-title="Field Type"> string</td>

              <td class="entry" headers="d950606e19337" data-title="Description">Specifies logic for the conditions. Value can be:<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">and</samp>—Evaluates to
                    <samp class="codeph nolang">true</samp> only if all
                    its conditions evaluate to true.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">or</samp>—Evaluates to <samp class="codeph nolang">true</samp> if any of its
                    conditions evaluate to true.
                  </li>

                  <li class="li">Advanced logic like <samp class="codeph nolang">1 AND (2 OR
                      3)</samp>—Evaluates to <samp class="codeph nolang">true</samp> if the first condition is <samp class="codeph nolang">true</samp> and either the second
                    or third condition is <samp class="codeph nolang">true</samp>. <p class="p">When you use advanced logic, the
                      string must consist of 1,000 or fewer characters.
                    </p>
                  </li>

                </ul>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e19334" data-title="Field Type">
                <a class="xref" href="#FlowCondition">FlowCondition</a>[]
              </td>

              <td class="entry" headers="d950606e19337" data-title="Description">An array of conditions that must be true for the flow to wait for
                this event.</td>

            </tr>

          </tbody>

        </table>

## FlowWait

Waits for one or more defined events to occur. FlowWait extends [FlowNode](#FlowNode) and inherits all its fields. FlowWait is available in API version 32.0 and later.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e19443" data-title="Field Type"><a class="xref" href="#FlowConnector">FlowConnector</a></td>

              <td class="entry" headers="d950606e19446" data-title="Description">Specifies which node to execute if the conditions are false for
                every event in the Wait element.</td>

            </tr>

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

              <td class="entry" headers="d950606e19443" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e19446" data-title="Description">Label for the default connector.</td>

            </tr>

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

              <td class="entry" headers="d950606e19443" data-title="Field Type"><a class="xref" href="#FlowConnector">FlowConnector</a></td>

              <td class="entry" headers="d950606e19446" data-title="Description">Specifies which node to execute if the attempt to wait results in
                an error. If any of the wait events fail, the flow takes the fault
                connector.</td>

            </tr>

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

              <td class="entry" headers="d950606e19443" data-title="Field Type">string</td>

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

            </tr>

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

              <td class="entry" headers="d950606e19443" data-title="Field Type">
                <a class="xref" href="#FlowWaitEvent">FlowWaitEvent</a>[]
              </td>

              <td class="entry" headers="d950606e19446" data-title="Description">An array of events that the Wait element is waiting for.<p class="p">If the
                  conditions for every event evaluate to <samp class="codeph nolang">false</samp>, the
                  <span class="keyword parmname">defaultConnector</span> is used.
                </p>
              </td>

            </tr>

          </tbody>

        </table>

## FlowWaitEvent

An event that a FlowWait element is waiting for. FlowWaitEvent extends [FlowElement](#FlowElement) and inherits all its fields. FlowWaitEvent is available in API version 32.0 and later.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d950606e19568" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e19571" data-title="Description">Specifies logic for the conditions. Value can be:<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">and</samp>—Evaluates to
                    <samp class="codeph nolang">true</samp> only if all
                    its conditions evaluate to <samp class="codeph nolang">true</samp>
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">or</samp>—Evaluates to <samp class="codeph nolang">true</samp> if any of its
                    conditions evaluate to <samp class="codeph nolang">true</samp>
                  </li>

                  <li class="li">Advanced logic like <samp class="codeph nolang">1 AND (2 OR
                      3)</samp>—Evaluates to <samp class="codeph nolang">true</samp> if the first condition is <samp class="codeph nolang">true</samp> and either the second
                    or third condition is <samp class="codeph nolang">true</samp>
                    <p class="p">When you use advanced logic, the string must consist of
                      1,000 or fewer characters.</p>
                  </li>

                </ul>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e19568" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e19571" data-title="Description">The API name of the event that resumes the flow. This field is
                available in API version 60.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e19568" data-title="Field Type">
                <a class="xref" href="#FlowCondition">FlowCondition</a>[]
              </td>

              <td class="entry" headers="d950606e19571" data-title="Description">An array of conditions that must be <samp class="codeph nolang">true</samp> for the flow to wait for this
                event.</td>

            </tr>

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

              <td class="entry" headers="d950606e19568" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e19571" data-title="Description">Name of the automation event that the Wait element is waiting
                for.</td>

            </tr>

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

              <td class="entry" headers="d950606e19568" data-title="Field Type">InvocableActionType (enumeration of type string)</td>

              <td class="entry" headers="d950606e19571" data-title="Description">The type of the automation event that triggers the Wait element
                is waiting for. Valid values are:<a name="ul_sd4_1gm_pdc"><!-- --></a>
                <ul class="ul bulletList" id="ul_sd4_1gm_pdc">
                  <li class="li">
                    <samp class="codeph nolang">exploreConversation</samp>—This value is available in API
                    version 61.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">trgrOnCustomEvent</samp>—This
                    value is available in API version 64.0 and later.
                  </li>

                  <li class="li"><span class="keyword parmname">trgrOnSmsSubscription</span></li>

                  <li class="li"><span class="keyword parmname">trgrOnEmailSubscription</span></li>

                  <li class="li"><span class="keyword parmname">trgrOnOrderPlacement</span></li>

                  <li class="li"><span class="keyword parmname">trgrOnFormSubmission</span></li>

                </ul>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e19568" data-title="Field Type"><a class="xref" href="#FlowConnector">FlowConnector</a></td>

              <td class="entry" headers="d950606e19571" data-title="Description">Specifies which node to execute if this event is the first event
                that occurs.</td>

            </tr>

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

              <td class="entry" headers="d950606e19568" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e19571" data-title="Description">Required. The event’s type. The type determines which input
                parameters are available to define this event. Valid values are:<ul class="ul bulletList">
                  <li class="li">
                    <span class="keyword parmname">AlarmEvent</span>—This event is an alarm based
                    off an absolute date/time value.
                  </li>

                  <li class="li">
                    <span class="keyword parmname">DateRefAlarmEvent</span>—This event is an
                    alarm based off a date/time field on a record.
                  </li>

                </ul>
              </td>

            </tr>

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

              <td class="entry" headers="d950606e19568" data-title="Field Type">Time</td>

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

            </tr>

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

              <td class="entry" headers="d950606e19568" data-title="Field Type">
                <a class="xref" href="#FlowRecordFilter">FlowRecordFilter</a>[]
              </td>

              <td class="entry" headers="d950606e19571" data-title="Description">An array of filters to apply when retrieving records from the
                database. For example, filter accounts to include only the records
                that haven’t been updated in the last 4 weeks. This field is
                available in API version 60.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e19568" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e19571" data-title="Description">The filter logic that’s applied to the filter condition
                requirements. To require all conditions, use AND. To require any
                conditions, use OR. For custom condition logic, enter the entire
                logic string, for example 1 AND 2 OR (3 AND 4). This field is
                available in API version 60.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e19568" data-title="Field Type">
                <a class="xref" href="#FlowWaitInputParameter">FlowWaitEventInputParameter</a>[]
              </td>

              <td class="entry" headers="d950606e19571" data-title="Description">An array of the event’s input parameters. The parameter values
                are set by using values from the flow.</td>

            </tr>

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

              <td class="entry" headers="d950606e19568" data-title="Field Type">FlowWaitInteractionType (enumeration of type string)</td>

              <td class="entry" headers="d950606e19571" data-title="Description">Specifies what type of event can resume the flow. Possible values are:<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">RcsResponse</samp>—An RCS
                    response event. This value is available in API version 67.0
                    and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">SmsResponse</samp>—An SMS
                    response event
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">WhatsappResponse</samp>—A
                    WhatsApp response event
                  </li>

                </ul>
                This field is available in API version 62.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e19568" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e19571" data-title="Description">Required. Label for the wait event.</td>

            </tr>

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

              <td class="entry" headers="d950606e19568" data-title="Field Type">string</td>

              <td class="entry" headers="d950606e19571" data-title="Description">The object that contains the event you want to use to resume the
                flow. This field is available in API version 60.0 and later.</td>

            </tr>

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

              <td class="entry" headers="d950606e19568" data-title="Field Type">int</td>

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

            </tr>

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

              <td class="entry" headers="d950606e19568" data-title="Field Type">FlowScheduledPathOffsetUnit (enumeration of type string)</td>

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

            </tr>

            <tr>
              <td class="entry" headers="d950606e19565" data-title="Field Name"><span class="keyword parmname" id="flowwaitevent_output_name"><a name="flowwaitevent_output_name"><!-- --></a>outputParameters</span></td>

              <td class="entry" headers="d950606e19568" data-title="Field Type">
                <a class="xref" href="#FlowWaitOutputParameter">FlowWaitEventOutputParameter</a>[]
              </td>

              <td class="entry" headers="d950606e19571" data-title="Description"><span class="ph" id="flowwaitevent_output_desc"><a name="flowwaitevent_output_desc"><!-- --></a>An array of the event’s output
                  parameters. The parameter values are assigned from the event to
                  variables in the flow.</span></td>

            </tr>

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

              <td class="entry" headers="d950606e19568" data-title="Field Type">RecordTriggerType</td>

              <td class="entry" headers="d950606e19571" data-title="Description">Specifies what type of record changes can resume the flow.
                Possible values are:<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">Create</samp>—When a related
                    record is created
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Update</samp>—When a related
                    record is updated
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">CreateAndUpdate</samp>—When a
                    related record is created and updated
                  </li>

                </ul>
                This field is available in API version 60.0 and later.</td>

            </tr>

          </tbody>

        </table>

## FlowWaitEventInputParameter

An input parameter for FlowWaitEvent. The parameter’s value is set by using values from the flow. It extends [FlowBaseElement](#FlowBaseElement) and inherits all its fields. FlowWaitEventInputParameter is available in API version 32.0 and later.

| Field Name | Field Type | Description |
| --- | --- | --- |
| name | string | Unique name for the input parameter. |
| value | [FlowElementReferenceOrValue](#FlowElementReferenceOrValue) | Defines the value of the input parameter. |

## FlowWaitEventOutputParameter

An output parameter for FlowWaitEvent. The parameter’s value is assigned to a variable in the flow so that it can be referenced in another part of the flow. It extends [FlowBaseElement](#FlowBaseElement) and inherits all its fields. FlowWaitEventOutputParameter is available in API version 32.0 and later.

| Field Name | Field Type | Description |
| --- | --- | --- |
| assignToReference | string | Required. Specifies the variable to which you want to assign the output parameter value. |
| name | string | Required. Unique name for the output parameter. |

## Upgrade Flow Files to API Version 44.0 or Later

In API version 43.0 and earlier, the Flow object’s fullName field included the flow’s version number. Starting in API version 44, the field no longer includes the version number. Before you deploy using API version 44.0 via Metadata API or Salesforce CLI, make sure that:

- The flows directory doesn’t include any unused flow versions.
- For each active flow, the status field is Active. Any flow without a status value is deployed or retrieved with a status value of Draft.
- The flowDefinitions directory is empty.

For Metadata API only.

- The package.xml file is set to API version 44.0.
- For the latest version of each flow, the file name doesn’t include a version number. For example, change myflow-3.flow to myflow.flow.

For Salesforce CLI only.

- The sfdx-project.json file is set to "sourceApiVersion": "44.0".
- For the latest version of each flow, the file name doesn’t include a version number. For example, change myflow-1.flow-meta.xml to myflow.flow-meta.xml.

As part of this upgrade, flow definitions are no longer necessary when you deploy or retrieve via Metadata API. If you deploy with flow definitions, the active version numbers in the flow definitions override the **status** fields in the flows. For example, the active version number in the flow definition is version 3, and the latest version of the flow is version 4 with the **status** field as Active. After you deploy your flow, the active version is version 3.

After you finished this upgrade, you can integrate with a version control system without worrying about flow file names changing. To reduce deployment issues when you push the source code into a scratch org, make sure that you don’t reuse an existing scratch org.

For more information, see [Deploy Processes and Flows as Active](https://help.salesforce.com/s/articleView?id=platform.flow_distribute_deploy_active.htm&type=5&language=en_US) in _Salesforce Help_.

## Declarative Metadata Sample Definition

Here’s a sample XML definition of a flow.

<?xml version="1.0" encoding="UTF-8"?>
<Flow xmlns="http://soap.sforce.com/2006/04/metadata">
    <actionCalls>
        <name>Get\_Info</name>
        <label>Get Info</label>
        <locationX>380</locationX>
        <locationY>242</locationY>
        <actionName>GetFirstFromCollection</actionName>
        <actionType>apex</actionType>
        <connector>
            <targetReference>Update\_If\_Existing</targetReference>
        </connector>
        <dataTypeMappings>
            <typeName>T\_\_inputCollection</typeName>
            <typeValue>Account</typeValue>
        </dataTypeMappings>
        <dataTypeMappings>
            <typeName>U\_\_outputMember</typeName>
            <typeValue>Account</typeValue>
        </dataTypeMappings>
        <flowTransactionModel>CurrentTransaction</flowTransactionModel>
        <inputParameters>
            <name>inputCollection</name>
            <value>
                <elementReference>accts.accounts</elementReference>
            </value>
        </inputParameters>
        <nameSegment>GetFirstFromCollection</nameSegment>
        <storeOutputAutomatically>true</storeOutputAutomatically>
        <versionSegment>1</versionSegment>
    </actionCalls>
    <actionCalls>
        <name>Post\_to\_Contact\_s\_Feed</name>
        <label>Post to Contact&apos;s Feed</label>
        <locationX>50</locationX>
        <locationY>890</locationY>
        <actionName>chatterPost</actionName>
        <actionType>chatterPost</actionType>
        <connector>
            <targetReference>Confirm</targetReference>
        </connector>
        <flowTransactionModel>CurrentTransaction</flowTransactionModel>
        <inputParameters>
            <name>text</name>
            <value>
                <elementReference>chatterMessage</elementReference>
            </value>
        </inputParameters>
        <inputParameters>
            <name>subjectNameOrId</name>
            <value>
                <elementReference>contact.Id</elementReference>
            </value>
        </inputParameters>
        <nameSegment>chatterPost</nameSegment>
        <storeOutputAutomatically>true</storeOutputAutomatically>
        <versionSegment>1</versionSegment>
    </actionCalls>
    <apiVersion>49.0</apiVersion>
    <assignments>
        <name>Set\_Contact\_ID</name>
        <label>Set Contact ID</label>
        <locationX>50</locationX>
        <locationY>674</locationY>
        <assignmentItems>
            <assignToReference>contact.Id</assignToReference>
            <operator>Assign</operator>
            <value>
                <elementReference>existingId</elementReference>
            </value>
        </assignmentItems>
        <connector>
            <targetReference>Update\_Contact</targetReference>
        </connector>
    </assignments>
    <decisions>
        <name>Update\_If\_Existing</name>
        <label>Update If Existing?</label>
        <locationX>380</locationX>
        <locationY>350</locationY>
        <defaultConnector>
            <isGoTo>true</isGoTo>
            <targetReference>Create\_Contact</targetReference>
        </defaultConnector>
        <defaultConnectorLabel>No</defaultConnectorLabel>
        <rules>
            <name>Update\_Yes</name>
            <conditionLogic>and</conditionLogic>
            <conditions>
                <leftValueReference>updateExisting</leftValueReference>
                <operator>EqualTo</operator>
                <rightValue>
                    <booleanValue>true</booleanValue>
                </rightValue>
            </conditions>
            <connector>
                <targetReference>Find\_a\_Match</targetReference>
            </connector>
            <label>Yes</label>
        </rules>
    </decisions>
    <decisions>
        <name>Update\_or\_Create</name>
        <label>Update or Create?</label>
        <locationX>182</locationX>
        <locationY>566</locationY>
        <defaultConnector>
            <targetReference>Create\_Contact</targetReference>
        </defaultConnector>
        <defaultConnectorLabel>Create New</defaultConnectorLabel>
        <rules>
            <name>Update\_Existing</name>
            <conditionLogic>and</conditionLogic>
            <conditions>
                <leftValueReference>existingId</leftValueReference>
                <operator>IsNull</operator>
                <rightValue>
                    <booleanValue>false</booleanValue>
                </rightValue>
            </conditions>
            <connector>
                <targetReference>Set\_Contact\_ID</targetReference>
            </connector>
            <label>Update Existing</label>
        </rules>
    </decisions>
    <dynamicChoiceSets>
        <name>accounts</name>
        <dataType>String</dataType>
        <displayField>Name</displayField>
        <object>Account</object>
        <outputAssignments>
            <assignToReference>contact.AccountId</assignToReference>
            <field>Id</field>
        </outputAssignments>
        <valueField>Id</valueField>
    </dynamicChoiceSets>
    <environments>Default</environments>
    <formulas>
        <name>created\_or\_updated</name>
        <dataType>String</dataType>
        <expression>IF({!Create\_Contact}, &quot;created&quot;, &quot;updated&quot;)</expression>
    </formulas>
    <interviewLabel>New Contact {!$Flow.CurrentDateTime}</interviewLabel>
    <isAdditionalPermissionRequiredToRun>true</isAdditionalPermissionRequiredToRun>
    <isTemplate>true</isTemplate>
    <label>New Contact</label>
    <processMetadataValues>
        <name>BuilderType</name>
        <value>
            <stringValue>LightningFlowBuilder</stringValue>
        </value>
    </processMetadataValues>
    <processMetadataValues>
        <name>CanvasMode</name>
        <value>
            <stringValue>AUTO\_LAYOUT\_CANVAS</stringValue>
        </value>
    </processMetadataValues>
    <processMetadataValues>
        <name>OriginBuilderType</name>
        <value>
            <stringValue>LightningFlowBuilder</stringValue>
        </value>
    </processMetadataValues>
    <processType>Flow</processType>
    <recordCreates>
        <name>Create\_Contact</name>
        <label>Create Contact</label>
        <locationX>314</locationX>
        <locationY>674</locationY>
        <connector>
            <isGoTo>true</isGoTo>
            <targetReference>Post\_to\_Contact\_s\_Feed</targetReference>
        </connector>
        <inputReference>contact</inputReference>
    </recordCreates>
    <recordLookups>
        <name>Find\_a\_Match</name>
        <label>Find a Match</label>
        <locationX>182</locationX>
        <locationY>458</locationY>
        <assignNullValuesIfNoRecordsFound>true</assignNullValuesIfNoRecordsFound>
        <connector>
            <targetReference>Update\_or\_Create</targetReference>
        </connector>
        <filterLogic>and</filterLogic>
        <filters>
            <field>FirstName</field>
            <operator>EqualTo</operator>
            <value>
                <elementReference>contact.FirstName</elementReference>
            </value>
        </filters>
        <filters>
            <field>LastName</field>
            <operator>EqualTo</operator>
            <value>
                <elementReference>contact.LastName</elementReference>
            </value>
        </filters>
        <object>Contact</object>
        <outputAssignments>
            <assignToReference>existingId</assignToReference>
            <field>Id</field>
        </outputAssignments>
    </recordLookups>
    <recordUpdates>
        <name>Update\_Contact</name>
        <label>Update Contact</label>
        <locationX>50</locationX>
        <locationY>782</locationY>
        <connector>
            <targetReference>Post\_to\_Contact\_s\_Feed</targetReference>
        </connector>
        <inputReference>contact</inputReference>
    </recordUpdates>
    <screens>
        <name>Confirm</name>
        <label>Confirm</label>
        <locationX>50</locationX>
        <locationY>998</locationY>
        <allowBack>false</allowBack>
        <allowFinish>true</allowFinish>
        <allowPause>true</allowPause>
        <fields>
            <name>confirmation\_message</name>
            <fieldText>Thanks! &lt;a href=&quot;/{!contact.Id}&quot;&gt;The contact&lt;/a&gt; was {!created\_or\_updated}.</fieldText>
            <fieldType>DisplayText</fieldType>
        </fields>
        <showFooter>true</showFooter>
        <showHeader>true</showHeader>
    </screens>
    <screens>
        <name>Contact\_Info</name>
        <label>Contact Info</label>
        <locationX>380</locationX>
        <locationY>134</locationY>
        <allowBack>true</allowBack>
        <allowFinish>true</allowFinish>
        <allowPause>true</allowPause>
        <connector>
            <targetReference>Get\_Info</targetReference>
        </connector>
        <fields>
            <name>contactName</name>
            <extensionName>flowruntime:name</extensionName>
            <fieldType>ComponentInstance</fieldType>
            <inputsOnNextNavToAssocScrn>UseStoredValues</inputsOnNextNavToAssocScrn>
            <isRequired>true</isRequired>
            <outputParameters>
                <assignToReference>contact.FirstName</assignToReference>
                <name>firstName</name>
            </outputParameters>
            <outputParameters>
                <assignToReference>contact.LastName</assignToReference>
                <name>lastName</name>
            </outputParameters>
        </fields>
        <fields>
            <name>Account</name>
            <choiceReferences>accounts</choiceReferences>
            <dataType>String</dataType>
            <fieldText>Account</fieldText>
            <fieldType>DropdownBox</fieldType>
            <isRequired>true</isRequired>
        </fields>
        <fields>
            <name>update\_toggle</name>
            <extensionName>flowruntime:toggle</extensionName>
            <fieldType>ComponentInstance</fieldType>
            <inputParameters>
                <name>label</name>
                <value>
                    <stringValue>If this contact already exists, update the existing record.</stringValue>
                </value>
            </inputParameters>
            <inputParameters>
                <name>messageToggleActive</name>
                <value>
                    <stringValue>Update existing</stringValue>
                </value>
            </inputParameters>
            <inputParameters>
                <name>messageToggleInactive</name>
                <value>
                    <stringValue>Create other contact</stringValue>
                </value>
            </inputParameters>
            <inputsOnNextNavToAssocScrn>UseStoredValues</inputsOnNextNavToAssocScrn>
            <isRequired>true</isRequired>
            <outputParameters>
                <assignToReference>updateExisting</assignToReference>
                <name>value</name>
            </outputParameters>
        </fields>
        <showFooter>true</showFooter>
        <showHeader>true</showHeader>
    </screens>
    <start>
        <locationX>254</locationX>
        <locationY>0</locationY>
        <connector>
            <targetReference>Contact\_Info</targetReference>
        </connector>
    </start>
    <status>Draft</status>
    <textTemplates>
        <name>chatterMessage</name>
        <isViewedAsPlainText>false</isViewedAsPlainText>
        <text>The contact was {!created\_or\_updated}.</text>
    </textTemplates>
    <variables>
        <name>accts</name>
        <apexClass>ComplexObjectExample</apexClass>
        <dataType>Apex</dataType>
        <isCollection>false</isCollection>
        <isInput>false</isInput>
        <isOutput>false</isOutput>
    </variables>
    <variables>
        <name>contact</name>
        <dataType>SObject</dataType>
        <isCollection>false</isCollection>
        <isInput>false</isInput>
        <isOutput>false</isOutput>
        <objectType>Contact</objectType>
    </variables>
    <variables>
        <name>existingId</name>
        <dataType>String</dataType>
        <isCollection>false</isCollection>
        <isInput>false</isInput>
        <isOutput>false</isOutput>
    </variables>
    <variables>
        <name>updateExisting</name>
        <dataType>Boolean</dataType>
        <isCollection>false</isCollection>
        <isInput>false</isInput>
        <isOutput>false</isOutput>
    </variables>
</Flow>

Sample XML definition with a subflow element.

<?xml version="1.0" encoding="UTF-8"?>
<Flow xmlns="http://soap.sforce.com/2006/04/metadata">
    <apiVersion>65.0</apiVersion>
    <areMetricsLoggedToDataCloud>false</areMetricsLoggedToDataCloud>
    <assignments>
        <name>Assign\_Value</name>
        <label>Assign Value</label>
        <locationX>0</locationX>
        <locationY>0</locationY>
        <assignmentItems>
            <assignToReference>Counter\_Value</assignToReference>
            <operator>Assign</operator>
        </assignmentItems>
    </assignments>
    <customProperties>
        <name>ScreenProgressIndicator</name>
        <value>
            <stringValue>{&quot;location&quot;:&quot;top&quot;,&quot;type&quot;:&quot;simple&quot;}</stringValue>
        </value>
    </customProperties>
    <environments>Default</environments>
    <interviewLabel>Sample Definition Screen 1 {!$Flow.CurrentDateTime}</interviewLabel>
    <label>Sample Definition Screen 1</label>
    <processMetadataValues>
        <name>BuilderType</name>
        <value>
            <stringValue>LightningFlowBuilder</stringValue>
        </value>
    </processMetadataValues>
    <processMetadataValues>
        <name>CanvasMode</name>
        <value>
            <stringValue>AUTO\_LAYOUT\_CANVAS</stringValue>
        </value>
    </processMetadataValues>
    <processMetadataValues>
        <name>OriginBuilderType</name>
        <value>
            <stringValue>LightningFlowBuilder</stringValue>
        </value>
    </processMetadataValues>
    <processType>Flow</processType>
    <start>
        <locationX>0</locationX>
        <locationY>0</locationY>
        <connector>
            <targetReference>Call\_My\_Subflow</targetReference>
        </connector>
    </start>
    <status>Draft</status>
    <subflows>
        <name>Call\_My\_Subflow</name>
        <label>Call My Subflow</label>
        <locationX>0</locationX>
        <locationY>0</locationY>
        <connector>
            <targetReference>Assign\_Value</targetReference>
        </connector>
        <flowName>Sample\_Definition\_Autolaunched</flowName>
        <inputAssignments>
            <name>Counter</name>
        </inputAssignments>
        <inputAssignments>
            <name>Counter\_Value2</name>
        </inputAssignments>
    </subflows>
    <variables>
        <name>Counter\_Value</name>
        <dataType>Number</dataType>
        <isCollection>false</isCollection>
        <isInput>true</isInput>
        <isOutput>true</isOutput>
        <scale>0</scale>
        <value>
            <numberValue>1.0</numberValue>
        </value>
    </variables>
</Flow>

Sample XML definition of an autolaunched flow with a loop.

<?xml version="1.0" encoding="UTF-8"?>
<Flow xmlns="http://soap.sforce.com/2006/04/metadata">
    <apiVersion>65.0</apiVersion>
    <areMetricsLoggedToDataCloud>false</areMetricsLoggedToDataCloud>
    <assignments>
        <name>Assign\_Counter</name>
        <label>Assign Counter</label>
        <locationX>0</locationX>
        <locationY>0</locationY>
        <assignmentItems>
            <assignToReference>Counter</assignToReference>
            <operator>Add</operator>
            <value>
                <numberValue>1.0</numberValue>
            </value>
        </assignmentItems>
        <assignmentItems>
            <assignToReference>Loop\_Accounts.NumberOfEmployees</assignToReference>
            <operator>Add</operator>
            <value>
                <elementReference>Counter</elementReference>
            </value>
        </assignmentItems>
        <connector>
            <targetReference>Loop\_Accounts</targetReference>
        </connector>
    </assignments>
    <environments>Default</environments>
    <interviewLabel>Sample Definition Autolaunched {!$Flow.CurrentDateTime}</interviewLabel>
    <label>Sample Definition Autolaunched</label>
    <loops>
        <name>Loop\_Accounts</name>
        <label>Loop Accounts</label>
        <locationX>0</locationX>
        <locationY>0</locationY>
        <collectionReference>Get\_Accounts</collectionReference>
        <iterationOrder>Asc</iterationOrder>
        <nextValueConnector>
            <targetReference>Assign\_Counter</targetReference>
        </nextValueConnector>
    </loops>
    <processMetadataValues>
        <name>BuilderType</name>
        <value>
            <stringValue>LightningFlowBuilder</stringValue>
        </value>
    </processMetadataValues>
    <processMetadataValues>
        <name>CanvasMode</name>
        <value>
            <stringValue>AUTO\_LAYOUT\_CANVAS</stringValue>
        </value>
    </processMetadataValues>
    <processMetadataValues>
        <name>OriginBuilderType</name>
        <value>
            <stringValue>LightningFlowBuilder</stringValue>
        </value>
    </processMetadataValues>
    <processType>AutoLaunchedFlow</processType>
    <recordLookups>
        <name>Get\_Accounts</name>
        <label>Get Accounts</label>
        <locationX>0</locationX>
        <locationY>0</locationY>
        <assignNullValuesIfNoRecordsFound>false</assignNullValuesIfNoRecordsFound>
        <connector>
            <targetReference>Loop\_Accounts</targetReference>
        </connector>
        <getFirstRecordOnly>false</getFirstRecordOnly>
        <limit>
            <numberValue>10.0</numberValue>
        </limit>
        <object>Account</object>
        <storeOutputAutomatically>true</storeOutputAutomatically>
    </recordLookups>
    <runInMode>SystemModeWithoutSharing</runInMode>
    <start>
        <locationX>0</locationX>
        <locationY>0</locationY>
        <connector>
            <targetReference>Get\_Accounts</targetReference>
        </connector>
    </start>
    <status>Draft</status>
    <variables>
        <name>AccountCollection</name>
        <dataType>SObject</dataType>
        <isCollection>true</isCollection>
        <isInput>false</isInput>
        <isOutput>false</isOutput>
        <objectType>Account</objectType>
    </variables>
    <variables>
        <name>Counter</name>
        <dataType>Number</dataType>
        <isCollection>false</isCollection>
        <isInput>false</isInput>
        <isOutput>false</isOutput>
        <scale>0</scale>
    </variables>
</Flow>

## Wildcard Support in the Manifest File

This metadata type supports the wildcard character \* (asterisk) in the package.xml manifest file. 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).

#### See Also

- [_Salesforce Help_: Deploy Processes and Flows as Active](https://help.salesforce.com/s/articleView?id=platform.flow_distribute_deploy_active.htm&type=5&language=en_US)