---
schema_version: "1"
id: 6ded037cdaf125b2fd58828d6264502e7c276b3be2c6f96de330a7b1687b5ed7
title: Configure a Vlocity Action (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_configure_a_vlocity_action.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_configure_a_vlocity_action.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 9cd286e2666d4bf81be248a428eb5f3d98c72b2c02fd3e82fb585bd1c751e505
description: For the managed package runtime, configure a Vlocity Action to launch Vlocity Omniscripts, Vlocity Cards components, web pages, or external applications. Actions are typically specific to a given object type, such as Account, Contact, Policy, or Asset.
products:
  - Omnistudio
release: "264"
---
# Configure a Vlocity Action (Managed Package)

For the managed package runtime, configure a Vlocity Action to launch Vlocity Omniscripts, Vlocity Cards components, web pages, or external applications. Actions are typically specific to a given object type, such as Account, Contact, Policy, or Asset.

Before you begin, from Setup, in the user profile, provide Read and View All Records permissions to the

![Managed Package app icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/resources-global/_corporate/images/managedpackageicon.png) This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see [Omnistudio Help](https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_standard.htm&language=en_US).

`vlocity_ins__VlocityAction__c` object.

1. Go to the Vlocity Actions tab.
2. Click **New** or select an action and click **Edit**.
3. On the New Vlocity Action page or Details page in edit mode, enter or update the values for these fields:
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/images/icon_note.png)
    
    Note
    
    If a field is missing, confirm that the field is available in the **Vlocity Action Layout** page layout for the **Vlocity Action** object.
    
    ![Vlocity Action Object Layout](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/omnistudio_for_managed_packages/images/vlocity_action_object_layout.png)
    
    <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
            <colgroup>
              <col>
              <col>
            </colgroup>
            <thead class="slds-text-title_caps ">
              <tr class="">
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d124430e96">
                  <p style="margin-bottom:0;">Field Name</p>
                </th>
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d124430e102">
                  <p style="margin-bottom:0;">Description</p>
                </th>
              </tr>
            </thead>
            <tbody>
              <tr class="">
                <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e96 ">
                  <p style="margin-bottom:0;">
                    <strong class="uicontrol">Vlocity Actions Name</strong>
                  </p>
                </td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e102 ">
                  <p style="margin-bottom:0;">Required. Enter a name for the action no longer than 80
                    characters.</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e96 ">
                  <p style="margin-bottom:0;">
                    <strong class="uicontrol">Description</strong>
                  </p>
                </td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e102 ">
                  <p style="margin-bottom:0;">Beginning with Vlocity Insurance and Health Winter '20 and Vlocity
                    CME Winter '20, Vlocity Actions support entering a description for
                    the action.</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e96 ">
                  <p style="margin-bottom:0;">
                    <strong class="uicontrol">Applicable Type</strong>
                  </p>
                </td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e102 ">
                  <p>Required. Select the objects from which you want the action to
                    launch. Default value is <kbd>All</kbd>. Vlocity
                    recommends selecting specific objects because the action attempts
                    to invoke every Applicable Type, which reduces performance.</p>
                  <p style="margin-bottom:0;">To add values to the <strong class="uicontrol">Applicable Type</strong>
                    picklist, use the API name of the object, such as
                    <kbd>Household__c</kbd>. The value can be an sObject
                    name or any string. If the action has a
                    <strong class="uicontrol">Filter</strong>, the <strong class="uicontrol">Applicable
                      Type</strong> must be the sObject name, such as
                    <kbd>Policy__c</kbd>, which is used in an SOQL
                    query.
                  </p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e96 ">
                  <p style="margin-bottom:0;">
                    <strong class="uicontrol">Applicable User Profile</strong>
                  </p>
                </td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e102 ">
                  <p style="margin-bottom:0;">To choose what action to display for a user profile, select an
                    option from the list. Default value is <kbd>All</kbd>.
                    An admin can add other user profiles to the picklist. For example,
                    if the current login user's profile is <strong class="uicontrol">Vlocity
                      Health</strong>, only the actions where <strong class="uicontrol">Applicable
                      User Profile</strong> is set to <strong class="uicontrol">All</strong> or
                    <strong class="uicontrol">Vlocity Health</strong> displays.
                  </p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e96 ">
                  <p style="margin-bottom:0;">
                    <strong class="uicontrol">Active</strong>
                  </p>
                </td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e102 ">
                  <p style="margin-bottom:0;">To make the action visible, check this option.</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e96 ">
                  <p style="margin-bottom:0;">
                    <strong class="uicontrol">Display Label</strong>
                  </p>
                </td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e102 ">
                  <p style="margin-bottom:0;">Required. Enter a visible label for the action.</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e96 ">
                  <p style="margin-bottom:0;">
                    <strong class="uicontrol">Display Sequence</strong>
                  </p>
                </td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e102 ">
                  <p style="margin-bottom:0;">Required. Enter the sequence in which the action displays on a
                    sub-tab or component. Lowest number in the sequence displays
                    first.</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e96 ">
                  <p style="margin-bottom:0;">
                    <strong class="uicontrol">Display On</strong>
                  </p>
                </td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e102 ">
                  <p style="margin-bottom:0;">Required. To filter where the action displays, select
                    <kbd>All</kbd>, <kbd>Web Client</kbd>,
                    or <kbd>Mobile</kbd> from the list. To enable users to
                    search for this action in an Interaction Wrapper, select
                    <kbd>All</kbd>.
                  </p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e96 ">
                  <p style="margin-bottom:0;">
                    <strong class="uicontrol">Vlocity Icon</strong>
                  </p>
                </td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e102 ">
                  <p>To display an icon for this action, view the available Vlocity
                    Icons and their associated class names in the <strong class="uicontrol">Vlocity
                      Icons</strong> section of the action details page. Enter the
                    class name of the icon to display for this action. Vlocity Icons
                    aren’t viewable when creating a new action on the New Vlocity
                    Action page.</p>
                  <p style="margin-bottom:0;">Upload a custom icon as an attachment from the Related tab. The
                    latest attached image loaded (with a size less than 50 KB) is used
                    as the custom image. If both the Vlocity icon and the custom icon
                    (attachment) are set, the custom icon is used. When the custom icon
                    isn’t uploaded, the Vlocity icon is used.</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e96 ">
                  <p style="margin-bottom:0;">
                    <strong class="uicontrol">Open URL In</strong>
                  </p>
                </td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e102 ">
                  <p style="margin-bottom:0;">To set how to open the Target URL, select <strong class="uicontrol">Current
                      Window</strong> or <strong class="uicontrol">New Tab/Window</strong>.
                    Default is <strong class="uicontrol">Current Window</strong>.</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e96 ">
                  <p style="margin-bottom:0;">
                    <strong class="uicontrol">Link Type</strong>
                  </p>
                </td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e102 ">
                  <p>Required. To specify where the action is launched from, select one
                    of these options:</p>
                  <ul>
                    <li>
                      <p><strong class="uicontrol">CommunityURL</strong>: Launches a Salesforce
                        Community page.</p>
                    </li>

                    <li>
                      <p><strong class="uicontrol">Omniscript</strong>: Launches an
                        Omniscript.</p>
                    </li>

                    <li>
                      <p><strong class="uicontrol">Other</strong>: Launches a specific URL.</p>
                    </li>

                    <li>
                      <p><strong class="uicontrol">ConsoleCards</strong>: Launches a Salesforce
                        Classic card.</p>
                    </li>

                    <li>
                      <p><strong class="uicontrol">LEXConsoleCards</strong>: Launches a Lightning
                        Experience Console card in a sub-tab.</p>
                    </li>

                    <li>
                      <p><strong class="uicontrol">Document</strong>: Launches a Contracts
                        Document.</p>
                    </li>

                    <li>
                      <p><strong class="uicontrol">Layout</strong>: Launches a Card Layout
                        page.</p>
                    </li>

                  </ul>
                </td>

              </tr>
              <tr class="">
                <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e96 ">
                  <p style="margin-bottom:0;">
                    <strong class="uicontrol">Is Seed Action</strong>
                  </p>
                </td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e102 ">
                  <p>Select this checkbox if the action is a Contracts Document action
                    provided out-of-the-box. Do not check this for a custom action. .
                    Defining Vlocity Actions for Contracts Seed actions are seed data
                    that the Vlocity Actions require for certain functionality to work.
                    An error message displays when you delete a seed action. A user
                    cannot delete a seed action or clear the <strong class="uicontrol">Is Seed
                      Action</strong> checkbox, but can set as inactive.</p>
                  <p style="margin-bottom:0;">An error message displays when you delete a seed action. A user
                    can’t delete a seed action or clear the <strong class="uicontrol">Is Seed
                      Action</strong> checkbox, but can set it as inactive.</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e96 ">
                  <p style="margin-bottom:0;">
                    <strong class="uicontrol">Target URL</strong>
                  </p>
                </td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e102 ">
                  <p>Required. The URL to which the action navigates. Enter a URL, such
                    as <kbd>/apex/&lt;pageName&gt;</kbd>, or a URL with
                    parameters. For example:</p>
                  <pre class="line-numbers slds-box slds-box_x-small slds-theme_shade slds-m-top_medium slds-m-bottom_medium slds-scrollable_x"><code>/apex/TestPolicyOmniPage?id={0}#/OmniScriptType/Policy/OmniScriptSubType/Auto/OmniScriptLang/English/ContextId/{0}/PrefillDataRaptorBundle/true.</code></pre>
                  <p>For out-of-the-box Vlocity Actions, such as <strong class="uicontrol">View
                      Record</strong>, the Target URL <kbd>/{0}</kbd>
                    doesn’t work outside of Salesforce Classic. To navigate to a page
                    in Salesforce Lightning Experience, update the URL to
                    <kbd>/lightning/r/[<var>ObjectName</var>]/{0}/view</kbd>,
                    where <code>ObjectName</code> is the API
                    name of the sObject such as Account.
                  </p>
                  <p>The <code>{0}</code> in the target URL
                    represents the indexed position of a parameter in the list of
                    parameters in the <strong class="uicontrol">URL Parameter</strong> field. See
                    the <strong class="uicontrol">URL Parameter</strong> field description.</p>
                  <p>To navigate to a Lightning or Lightning Community Page, prefix the
                    relative URL with <kbd>ltngpage:.</kbd> For example,
                    <kbd>ltngpage:/Home</kbd> redirects to your
                    community home page.
                  </p>
                  <p>To open a Visualforce page from Salesforce's Lightning container,
                    prefix the relative URL with <code>ltng.</code> For example,
                    <kbd>ltng:/apex/CustomVFPage</kbd>, redirects to the
                    CustomVFPage.
                  </p>
                  <p>Example Target URLs:</p>
                  <ul>
                    <li>
                      <p>
                        <kbd>/apex/<var>NameSpace</var>__OmniScriptUniversalPageConsole?id={0}&amp;OmniScriptType=VPL&amp;OmniScriptSubType=GetPolicyAccountAgentDetails&amp;OmniScriptLang=English&amp;scriptMode=vertical&amp;layout=lightning&amp;ContextId={0}&amp;InteractionId={1}&amp;Role={2}</kbd>
                      </p>
                    </li>

                    <li>
                      <p>
                        <kbd>/apex/<var>NameSpace</var>__OmniScriptUniversalPageWHeader?id={0}#/OmniScriptType/Policy/OmniScriptSubType/Auto/OmniScriptLang/English/ContextId/{0}/PrefillDataRaptorBundle/true</kbd>
                      </p>
                    </li>

                    <li>
                      <p>
                        <kbd>/apex/<var>NameSpace</var>__ConsoleCards?id={0}&amp;layout=lex-layout</kbd>
                      </p>
                    </li>

                    <li>
                      <p>
                        <kbd>/apex/<var>NameSpace</var>__ConsoleCards?id={0}&amp;layout=Sample-GetObjectFromInteraction</kbd>
                      </p>
                    </li>

                  </ul>
                  <p>You can't add Javascript in the Target URL field. If you do, when
                    the Vlocity action runs, a validation check detects the Javascript,
                    and instead of executing it, loads a blank page.</p>
                  <p style="margin-bottom:0;">See <a href="https://help.salesforce.com/s/articleView?id=xcloud.os_target_url_and_url_parameters.htm&amp;release=264.0.0&amp;type=5" title="For the managed package runtime, to launch Vlocity Omniscripts, Vlocity Cards components, web pages, or external applications from a Vlocity Action, enter an Apex page, or a URL with parameters as the Target URL. LWC components, such as LWC Omniscripts, LWC Cards, and Flexcards, are not URL addressable and so can't be accessed directly from a URL and must embedded on a page.">Target URL and URL Parameters (Managed Package)</a>.</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e96 ">
                  <p style="margin-bottom:0;">
                    <strong class="uicontrol">URL Parameter</strong>
                  </p>
                </td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e102 ">
                  <p>If the Target URL requires parameters, enter them here. The URL
                    parameter represents the attribute name from the Applicable Type
                    object, such as <kbd>AccountId</kbd> in
                    <kbd>Contact</kbd>. In the sequence that you want to
                    replace the parameters in the Target URL, specify parameters in a
                    comma separated list with no spaces.
                  </p>
                  <p>For example, when you enter
                    <kbd>AssetId,CustomerInteractionId,Role</kbd> in
                    this field, <kbd>AssetId</kbd> replaces
                    <kbd>{0}</kbd>,
                    <kbd>CustomerInteractionId</kbd> replaces
                    <kbd>{1}</kbd>, and <kbd>Role</kbd>
                    replaces <kbd>{2}</kbd> in a Target URL.
                  </p>
                  <div><img style="width:200px;" src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/omnistudio_for_managed_packages/images/vlocity_actions_url_paramaters.png" alt="Vlocity Actions URL Parameters"></div>
                  <p style="margin-bottom:0;">See <a href="https://help.salesforce.com/s/articleView?id=xcloud.os_target_url_and_url_parameters.htm&amp;release=264.0.0&amp;type=5" title="For the managed package runtime, to launch Vlocity Omniscripts, Vlocity Cards components, web pages, or external applications from a Vlocity Action, enter an Apex page, or a URL with parameters as the Target URL. LWC components, such as LWC Omniscripts, LWC Cards, and Flexcards, are not URL addressable and so can't be accessed directly from a URL and must embedded on a page.">Target URL and URL Parameters (Managed Package)</a>.</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e96 ">
                  <p style="margin-bottom:0;">
                    <strong class="uicontrol">Applicable Permission Name</strong>
                  </p>
                </td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e102 ">
                  <p style="margin-bottom:0;">For Vlocity Winter '18 minor release 900.85.3 and later. To specify
                    what actions display based on whether permission is granted to the
                    user's profile or one or more of the user's permission sets, enter
                    the name of a standard Custom Permission object. Use Applicable
                    Permission Name along with Applicable User Profile, not instead of
                    it. For more information about permission sets, see <a href="https://help.salesforce.com/articleView?id=security_data_access.htm&amp;type=5&amp;language=en_US" target="_blank">Control Who Sees What</a> in
                    Salesforce Help.</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e96 ">
                  <p style="margin-bottom:0;">
                    <strong class="uicontrol">Filter</strong>
                  </p>
                </td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e102 ">
                  <p>To specify what action displays for each instance of the object,
                    create a filter using <code>AND</code> or
                    <code>OR</code> conditions with
                    attributes from the <strong class="uicontrol">Applicable Type</strong>. For
                    example:
                  </p>
                  <p>
                    <kbd>Applicable Type=Policy__c, Filter=PolicyType__c='Auto'
                      AND Status__c='Active'</kbd>
                  </p>
                  <p style="margin-bottom:0;">This example specifies that the action shows only for active
                    Policies where policy type is 'Auto'. The filter condition is
                    applicable for valid Salesforce standard and custom objects. Filter
                    by any field on the object. Maximum length is 255 characters.</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e96 ">
                  <p style="margin-bottom:0;">
                    <strong class="uicontrol">Additional Filter</strong>
                  </p>
                </td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e102 ">
                  <p style="margin-bottom:0;">Enter a filter longer than 255 characters.</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e96 ">
                  <p style="margin-bottom:0;">
                    <strong class="uicontrol">State Model</strong>
                  </p>
                </td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e102 ">
                  <p style="margin-bottom:0;">For contracts, specify the Contract State Model that defines the
                    contract life cycle associated with this action.</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e96 ">
                  <p style="margin-bottom:0;">
                    <strong class="uicontrol">To State</strong>
                  </p>
                </td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e102 ">
                  <p style="margin-bottom:0;">For contracts, specify the state associated with this action.</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e96 ">
                  <p>
                    <strong class="uicontrol">Invocation Class Name</strong>
                  </p>
                  <p style="margin-bottom:0;">
                    <strong class="uicontrol">Invocation Method Name</strong>
                  </p>
                </td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e102 ">
                  <p style="margin-bottom:0;">Enter Apex invocation class name and method name. The class must
                    implement
                    <kbd>VlocityOpenInterface/VlocityOpenInterface2</kbd>
                    and Implementations.
                  </p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e96 ">
                  <p>
                    <strong class="uicontrol">Validation Class Name</strong>
                  </p>
                  <p style="margin-bottom:0;">
                    <strong class="uicontrol">Validation Method Name</strong>
                  </p>
                </td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d124430e102 ">
                  <p style="margin-bottom:0;">Enter the validation class name and method name. The class must
                    implement
                    <kbd>VlocityOpenInterface/VlocityOpenInterface2</kbd>.
                    It’s used in the Contract Document Management UI Action toolbar to
                    display a warning message.
                  </p>
                </td>

              </tr>
            </tbody>
          </table>
4. Click **Save**.