RecordActionDeployment

Represents configuration settings for the Actions & Recommendations, Action Launcher, and Bulk Action Panel components. For example, you can have a deployment that specifies which types of actions to display, default actions for channels, and the actions that users can add at runtime. If the component shows Next Best Action recommendations, the deployment configures which strategies to use and how recommendations appear.

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

This type extends Metadata and inherits its fields.

RecordActionDeployment values are stored in the developer_name.deployment file in the recordActionDeployments directory.

We don’t recommend programmatically changing the API name of a RecordActionDeployment.

Introduced in API version 45.0.

  • Type: RecordActionDeploymentChannel[]
  • Required: No
  • Description: Specifies configuration settings for different channels in an Actions & Recommendations deployment.
  • Type: ComponentName (enumeration of type string)
  • Required: No
  • Introduced: API version 56.0
  • Description: Specifies the name of the component used in the deployment: For example, a value of 1 indicates that 1 is stored in the database if Action Launcher is used to create a deployment.
  • Possible values:
    • ActionsAndRecommendations — 0
    • ActionLauncher — 1
    • BulkActionPanel — 2. This value is available in API version 60.0 and later
  • Type: RecordActionDeploymentContext[]
  • Required: No
  • Introduced: API version 46.0
  • Description: Specifies the object context for quick actions and Next Best Action strategies.
  • Type: boolean
  • Required: No
  • Introduced: API version 61.0
  • Description: Indicates whether the record actions deployment includes components (true) or not (false).
  • Type: boolean
  • Required: No
  • Introduced: API version 46.0
  • Description: Specifies that the component shows standard actions; for example, flows and quick actions.
  • Type: boolean
  • Required: No
  • Introduced: API version 56.0
  • Description: Indicates whether the record actions deployment includes OmniScripts (true) or not (false). The default value is false.
  • Type: boolean
  • Required: No
  • Introduced: API version 46.0
  • Description: Specifies that the component shows recommendations from a Next Best Action strategy.
  • Type: string
  • Required: Yes
  • Description: Required. Specifies the name of the deployment.
  • Type: RecordActionRecommendation
  • Required: No
  • Introduced: API version 46.0
  • Description: Specifies settings for how Next Best Action recommendations appear in the component.
  • Type: boolean
  • Required: Yes
  • Introduced: API version 48.0
  • Description: Required. If true, launch the flow when the recommendation is rejected by the agent.

Represents actions and attributes specified as channel defaults in a deployment.

  • Type: string
  • Required: Yes
  • Description: Required. Specifies the API name of an action. For example, the API name of a flow, such as Verify_Information.
  • Type: boolean
  • Required: No
  • Description: Specifies whether the action is marked as mandatory. The default value is false.
  • Type: boolean
  • Required: No
  • Description: Specifies whether the remove option is hidden in the UI. The default value is false. If true, the UI hides the ability to remove the action from the list.
  • Type: PinnedAction (enumeration of type string)
  • Required: Yes
  • Description: Required. Indicates whether the action is pinned to the Top or Bottom, or unpinned (None). The default value is None.
  • Type: int
  • Required: Yes
  • Description: Required. Indicates the order of the action among all actions associated with this record.
  • Type: RecordActionType (enumeration of type string)
  • Required: Yes
  • Description: Required. The type of action that’s associated with the record.
  • Possible values:
    • Flow
    • QuickAction — (Available in API version 46.0 and later.)
    • OmniScript — (Available in API version 56.0 and later.)
    • LWC — (Available in API version 62.0 and later.)
    • SvcCatalogItemDef — (Available in API version 62.0 and later.)
    • WebLink — (Available in API version 62.0 and later.)

Specifies channel-specific defaults to show in the Actions & Recommendations component. The component displays the channel defaults when the list is otherwise empty.

  • Type: ChannelSource (enumeration of type string)
  • Required: Yes
  • Description: Required. Specifies the channel. Valid values are Phone, Chat, or Default.
  • Type: RecordActionDefaultItem[]
  • Required: No
  • Description: Specifies default actions for a channel and attributes for each action, such as whether the action is pinned to the list top or bottom or whether an action is considered mandatory.
  • Type: boolean
  • Required: No
  • Description: Specifies whether the first action in the list is launched when the record page opens. If true, the first action is launched. The default value is false.

Specifies an object that provides context for quick actions and Next Best Action strategies. When the component appears on this type of page, it includes object-specific quick actions and uses an object-specific strategy to filter recommendations. :::note We support a maximum of 10 objects that provide context within a deployment. :::

Introduced in API version 46.0.

We support a maximum of 10 objects that provide context within a deployment.

  • Type: string
  • Required: Yes
  • Description: Required. Specifies the API name of an object to use as context.
  • Type: string
  • Required: No
  • Description: Specifies the API name of a Next Best Action strategy that overrides the default strategy on this page. A strategy is a metadata type RecommendationStrategy.

Specifies settings to display Next Best Action recommendations in the component.

Introduced in API version 46.0.

  • Type: string
  • Required: No
  • Description: Specifies the API name of the default Next Best Action strategy, which is a metadata type, RecommendationStrategy.
  • Type: boolean
  • Required: Yes
  • Description: Required. If true, display the description for the recommendation.
  • Type: boolean
  • Required: Yes
  • Description: Required. If true, display the image for the recommendation.
  • Type: boolean
  • Required: Yes
  • Description: Required. If true, display the label that the user clicks to reject the recommendation.
  • Type: boolean
  • Required: Yes
  • Description: Required. If true, display the title for the recommendation.
  • Type: int
  • Required: Yes
  • Description: Required. Specifies the maximum number of recommendations to display. Valid values are 1–4.
  • Type: boolean
  • Required: Yes

Represents the set of actions available for users to add to the component at runtime.

  • Type: string
  • Required: Yes
  • Description: Required. Specifies the API name of an action. For example, the API name of a flow, such as Verify_Information.
  • Type: int

  • Required: No

  • Description: The sequence number that’s assigned to a frequently used action that’s shown on Action Launcher. Available in version 57.0 and later.

    This field applies only to Action Launcher.

  • Type: boolean

  • Required: No

  • Description: Indicates whether an action is frequently accessed by users (true) or not (false). Available in version 57.0 and later.

    This field applies only to Action Launcher.

  • Type: RecordActionType (enumeration of type string)
  • Required: Yes
  • Description: Required. The type of action that’s associated with the record.
  • Possible values:
    • Flow
    • QuickAction — (Available in API version 46.0 and later.)
    • OmniScript — (Available in API version 56.0 and later.)
    • LWC — (Available in API version 62.0 and later.)
    • SvcCatalogItemDef — (Available in API version 62.0 and later.)
    • WebLink — (Available in API version 62.0 and later.)

The following is a sample of a recordActionDeployment file.

The following is an example package.xml that references the previous definition.

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.