---
schema_version: "1"
id: af16d76c92fea438a15b8abca42e8ca315b34e0d647f724d368718ef5a7da59b
title: FlowDefinitionView
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_flowdefinitionview.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_flowdefinitionview.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: e71dc6d781bc2062d8898e2282ff47529d5caf93479b2cfd523fc12c1d3bcd5e
description: Represents the description of a flow definition. This object is available in API version 46.0 and later.
---
# FlowDefinitionView

Represents the description of a flow definition. This object is available in API version 46.0 and later.

## Supported Calls

describeSObjects(), query()

## Fields

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


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

              <th class="featureTableHeader  " id="d933323e76">Details</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d933323e73" data-title="Field"><span class="keyword parmname">ActiveVersionId</span></td>

              <td class="entry" headers="d933323e76" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">string</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Nillable, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The ID of the active flow version.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d933323e73" data-title="Field"><span class="keyword parmname">ApiName</span></td>

              <td class="entry" headers="d933323e76" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">string</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Nillable, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The API name of the flow definition.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d933323e73" data-title="Field"><span class="keyword parmname">ApiVersion</span></td>

              <td class="entry" headers="d933323e76" data-title="Details">
                <a name="dl_msv_t5d_lcc"><!-- --></a>
                <dl class="dl detailList" id="dl_msv_t5d_lcc">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">string</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Nillable, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The API version of the flow definition.</dd>

                  <dd class="dd">Available in API version 59.0 and later.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d933323e73" data-title="Field"><span class="keyword parmname">AreMetricsLoggedToDataCloud</span></td>

              <td class="entry" headers="d933323e76" data-title="Details">
                <a name="dl_y1k_cx1_ndc"><!-- --></a>
                <dl class="dl detailList" id="dl_y1k_cx1_ndc">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">boolean</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Defaulted on create, Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">Indicates whether this flow’s metrics are logged in Data
                    Cloud. The default value is false. This field is
                    available in API version 63.0 and later. </dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d933323e73" data-title="Field"><span class="keyword parmname">Builder</span></td>

              <td class="entry" headers="d933323e76" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">string</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Nillable, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The name of the tool that created this flow. Possible
                    values are:<ul class="ul bulletList">
                      <li class="li">Cloud Flow Designer</li>

                      <li class="li">Flow Builder</li>

                      <li class="li">Swing Designer</li>

                    </ul>
                  </dd>


                </dl>

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

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d933323e73" data-title="Field"><span class="keyword parmname">CapacityCategory</span></td>

              <td class="entry" headers="d933323e76" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">picklist</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Nillable, Restricted picklist, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The category that determines the usage limits of the
                    flow. Possible values are:<ul class="ul bulletList">
                      <li class="li">Marketing Cloud Flow</li>

                    </ul>
                  </dd>


                </dl>

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

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d933323e73" data-title="Field"><span class="keyword parmname">Description</span></td>

              <td class="entry" headers="d933323e76" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">string</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Nillable, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">Flow definition information, specified by the org’s
                    admin.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d933323e73" data-title="Field"><span class="keyword parmname">DurableId</span></td>

              <td class="entry" headers="d933323e76" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">string</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Nillable, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The ID of the flow definition.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d933323e73" data-title="Field"><span class="keyword parmname">Environments</span></td>

              <td class="entry" headers="d933323e76" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">multipicklist</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Nillable</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">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>
                    This field is available in API
                    version 55.0 to 62.0. This field is deprecated in API
                    version 63.0 and later.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d933323e73" data-title="Field"><span class="keyword parmname">HasAsyncAfterCommitPath</span></td>

              <td class="entry" headers="d933323e76" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">boolean</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Defaulted on create, Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">Indicates whether the scheduled path runs asynchronously
                    after a save. The default value is false. This field is
                    available in API version 54.0 and later.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d933323e73" data-title="Field"><span class="keyword parmname">InstalledPackageName</span></td>

              <td class="entry" headers="d933323e76" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">string</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Nillable, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The name of the installed package that includes this
                    flow definition.</dd>


                </dl>

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

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d933323e73" data-title="Field"><span class="keyword parmname">IsActive</span></td>

              <td class="entry" headers="d933323e76" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">boolean</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Defaulted on create, Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">Indicates whether the latest version of the flow
                    definition is the active flow version.</dd>


                </dl>

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

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d933323e73" data-title="Field"><span class="keyword parmname">IsOutOfDate</span></td>

              <td class="entry" headers="d933323e76" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">boolean</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Defaulted on create, Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">Indicates whether the active flow version is the latest
                    version of the flow definition.</dd>


                </dl>

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

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d933323e73" data-title="Field"><span class="keyword parmname">IsOverridable</span></td>

              <td class="entry" headers="d933323e76" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">boolean</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Defaulted on create, Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">Indicates whether the flow is overridable. The default
                    value is false. This field is available in API version
                    53.0 and later.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d933323e73" data-title="Field"><span class="keyword parmname">IsSwingFlow</span></td>

              <td class="entry" headers="d933323e76" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">boolean</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Defaulted on create, Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">Indicates whether the flow is built with Desktop Flow
                    Designer.</dd>


                </dl>

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

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d933323e73" data-title="Field"><span class="keyword parmname">IsTemplate</span></td>

              <td class="entry" headers="d933323e76" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">boolean</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Defaulted on create, Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">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.</dd>


                </dl>

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

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d933323e73" data-title="Field"><span class="keyword parmname">Label</span></td>

              <td class="entry" headers="d933323e76" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">string</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Nillable, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The label of the flow definition.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d933323e73" data-title="Field"><span class="keyword parmname">LastModifiedBy</span></td>

              <td class="entry" headers="d933323e76" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">string</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Nillable, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">Name of the user who last updated this flow
                    definition.</dd>


                </dl>

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

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d933323e73" data-title="Field"><span class="keyword parmname">LatestVersionId</span></td>

              <td class="entry" headers="d933323e76" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">string</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Nillable, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The ID of the latest flow version, regardless of the
                    flow’s status.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d933323e73" data-title="Field"><span class="keyword parmname">ManageableState</span></td>

              <td class="entry" headers="d933323e76" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">picklist</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Nillable, Restricted picklist, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">Indicates the manageable state of the flow that is
                    contained in a package. Possible values are: <ul class="ul bulletList">
                      <li class="li"><samp class="codeph nolang">beta</samp></li>

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

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

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

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

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

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

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

                    </ul>
                  </dd>


                </dl>

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

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d933323e73" data-title="Field"><span class="keyword parmname">NamespacePrefix</span></td>

              <td class="entry" headers="d933323e76" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">string</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Nillable, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The namespace prefix associated with the flow
                    definition.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d933323e73" data-title="Field"><span class="keyword parmname">OverriddenById</span></td>

              <td class="entry" headers="d933323e76" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">string</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Nillable, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The flow that’s overriding the current flow. This is a
                    relationship field. This field is available in API
                    version 53.0 and later.</dd>



                  <dt class="dt dlterm">Relationship Name</dt>

                  <dd class="dd">OverriddenBy</dd>



                  <dt class="dt dlterm">Relationship Type</dt>

                  <dd class="dd">Lookup</dd>



                  <dt class="dt dlterm">Refers To</dt>

                  <dd class="dd">FlowDefinitionView</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d933323e73" data-title="Field"><span class="keyword parmname">OverriddenFlowId</span></td>

              <td class="entry" headers="d933323e76" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">string</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Nillable, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The flow that the current flow is overriding. This is a
                    relationship field. This field is available in API
                    version 53.0 and later.</dd>



                  <dt class="dt dlterm">Relationship Name</dt>

                  <dd class="dd">OverriddenFlow</dd>



                  <dt class="dt dlterm">Relationship Type</dt>

                  <dd class="dd">Lookup</dd>



                  <dt class="dt dlterm">Refers To</dt>

                  <dd class="dd">FlowDefinitionView</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d933323e73" data-title="Field"><span class="keyword parmname">ProcessType</span></td>

              <td class="entry" headers="d933323e76" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">picklist</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Nillable, Restricted picklist, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The type of the flow. Valid values are:<ul class="ul bulletList">
                      <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">These values are reserved for future use:</p>
                    <ul class="ul bulletList">
                      <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>
                    This value has significant impact on validation
                    when saving the flow and on the flow’s runtime behavior.
                    Don’t change this value unless you understand the flow
                    properties of the specified type.
                  </dd>


                </dl>

                <p class="p">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>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d933323e73" data-title="Field"><span class="keyword parmname">RecordTriggerType</span></td>

              <td class="entry" headers="d933323e76" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">picklist</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Nillable, Restricted picklist, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">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></li>

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

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

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

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

                    </ul>
                    Available only when <samp class="codeph nolang">triggerType</samp> is
                    <samp class="ph systemoutput">RecordBeforeSave</samp>. This
                    field is available in API version 54.0 and later.
                  </dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d933323e73" data-title="Field"><span class="keyword parmname">SourceTemplateId</span></td>

              <td class="entry" headers="d933323e76" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">string</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Nillable, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The template that the current flow was created from.
                    This is a relationship field. This field is available in
                    API version 53.0 and later.</dd>



                  <dt class="dt dlterm">Relationship Name</dt>

                  <dd class="dd">SourceTemplate</dd>



                  <dt class="dt dlterm">Relationship Type</dt>

                  <dd class="dd">Lookup</dd>



                  <dt class="dt dlterm">Refers To</dt>

                  <dd class="dd">FlowDefinitionView</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d933323e73" data-title="Field"><span class="keyword parmname">SupportedEnvironments</span></td>

              <td class="entry" headers="d933323e76" data-title="Details">
                <a name="dl_sjj_r4k_tdc"><!-- --></a>
                <dl class="dl detailList" id="dl_sjj_r4k_tdc">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">string</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Nillable</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The environment in which the flow can run. Valid values
                    are:
                    <a name="ul_tjj_r4k_tdc"><!-- --></a>
                    <ul class="ul bulletList" id="ul_tjj_r4k_tdc">
                      <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.
                      </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>
                    This field is available in API
                    version 63.0 and later.
                  </dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d933323e73" data-title="Field"><span class="keyword parmname">TriggerObjectOrEventId</span></td>

              <td class="entry" headers="d933323e76" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">string</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Nillable, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">ID of the object or platform event that triggers this
                    flow. This field is available in API version 53.0 and
                    later.<p class="p">This is a relationship field.</p>
                  </dd>



                  <dt class="dt dlterm">Relationship Name</dt>

                  <dd class="dd">TriggerObjectOrEvent</dd>



                  <dt class="dt dlterm">Relationship Type</dt>

                  <dd class="dd">Lookup</dd>



                  <dt class="dt dlterm">Refers To</dt>

                  <dd class="dd">EntityDefinition</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d933323e73" data-title="Field"><span class="keyword parmname">TriggerObjectOrEventLabel</span></td>

              <td class="entry" headers="d933323e76" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">string</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Nillable, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The label of the object or platform event that triggers
                    this flow. This field is available in API version 53.0
                    and later.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d933323e73" data-title="Field"><span class="keyword parmname">TriggerOrder</span></td>

              <td class="entry" headers="d933323e76" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">int</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Nillable, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">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. Available in API version 54.0 and
                    later.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d933323e73" data-title="Field"><span class="keyword parmname">TriggerType</span></td>

              <td class="entry" headers="d933323e76" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">picklist</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Nillable, Restricted picklist, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">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. Valid values are:<ul class="ul bulletList">
                      <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">CampaignMember</samp>—t the scheduled
                        time, the flow performs actions on or sends
                        messages to individuals from the selected
                        campaign. This value is available in API version
                        67.0 and later.
                      </li>

                      <li class="li">
                        <samp class="codeph nolang">Capability</samp>—The flow starts when
                        the specified capability that the flow integrates
                        with is invoked. This value is available in API
                        version 60.0 and later.
                      </li>

                      <li class="li">
                        <samp class="codeph nolang">CrmRecordQuery</samp>—At the scheduled time,
                        the flow performs actions on or sends messages to
                        individuals from the queried customer relationship
                        management record. This value is available in API
                        version 67.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">EnterpriseScaleExternalSystemChange</samp>—The
                        flow runs when triggered by MuleSoft. This value
                        is available in API version 67.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 an external system change event is
                        received. This value is available in API version
                        61.0 and later.
                      </li>

                      <li class="li">
                        <samp class="codeph nolang">FormSubmissionEvent</samp>—The flow runs
                        when a user submits data via a webform. In Flow
                        Builder, this value corresponds to <samp class="codeph nolang">Form</samp>. This value is
                        available in API version 60.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">List</samp>—At the scheduled time, the
                        flow performs actions on or sends messages to
                        individuals from the selected list.&nbsp; This value is
                        available in API version 67.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 additional 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">Segment</samp>— At the scheduled time,
                        the flow performs actions on or sends messages to
                        individuals from the selected segment. This value
                        is available in API version 56.0 and later.
                      </li>

                    </ul>
                  </dd>


                </dl>

                <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="d933323e73" data-title="Field"><span class="keyword parmname">VersionNumber</span></td>

              <td class="entry" headers="d933323e76" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">int</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Nillable, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The flow’s version number. This field is available in
                    API version 54.0 and later.</dd>


                </dl>

              </td>

            </tr>

          </tbody>

        </table>

## Usage

Use this object to query information about flow definitions.