Newer Version Available
RecordActionDeployment
File Suffix and Directory Location
RecordActionDeployment values are stored in the developer_name.deployment file in the recordActionDeployments directory.
Version
RecordActionDeployment is available in API version 45.0 and later.
Fields
| Field Name | Field Type | Description |
|---|---|---|
| channelConfigurations | RecordActionDeploymentChannel | Specifies configuration settings for different channels in an Actions & Recommendations deployment. |
| componentName | ComponentName (enumeration of type string) | Specifies the name of the component used in the deployment:
|
| deploymentContexts | RecordActionDeploymentContext | Specifies the object context for quick actions and Next Best Action strategies. Available in API version 46.0 and later. |
| hasComponents | boolean | Indicates whether the record actions deployment includes components (true) or not (false). Available in API version 61.0 and later. |
| hasGuidedActions | boolean | Specifies that the component shows standard actions; for example, flows and quick actions. Available in API version 46.0 and later. |
| hasOmniscripts | boolean | Indicates whether the record actions deployment includes OmniScripts (true) or not (false). Available in API version 56.0 and later. The default value is false. |
| hasRecommendations | boolean | Specifies that the component shows recommendations from a Next Best Action strategy. Available in API version 46.0 and later. |
| masterLabel | string | Required. Specifies the name of the deployment. |
| recommendation | RecordActionRecommendation | Specifies settings for how Next Best Action recommendations appear in the component. Available in API version 46.0 and later. |
| selectableItems | RecordActionDeploymentSelectableItems | Specifies the actions that users can add at runtime. |
| shouldLaunchActionOnReject | boolean | Required. If true, launch the flow when the recommendation is rejected by the agent. Available in API version 48.0 and later. |
RecordActionDefaultItem
Represents actions and attributes specified as channel defaults in a deployment.
| Field Name | Field Type | Description |
|---|---|---|
| action | string | Required. Specifies the API name of an action. For example, the API name of a flow, such as Verify_Information. |
| isMandatory | boolean | Specifies whether the action is marked as mandatory. The default value is false. |
| isUiRemoveHidden | boolean | 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. |
| pinned | PinnedAction (enumeration of type string) | Required. Indicates whether the action is pinned to the Top or Bottom, or unpinned (None). The default value is None. |
| position | int | Required. Indicates the order of the action among all actions associated with this record. |
| type | RecordActionType (enumeration of type string) | Required. The type of action that’s associated with the record. Valid values
are:
|
RecordActionDeploymentChannel
Specifies channel-specific defaults to show in the Actions & Recommendations component. The component displays the channel defaults when the list is otherwise empty.
| Field Name | Field Type | Description | |
|---|---|---|---|
| channel | ChannelSource (enumeration of type string) | Required. Specifies the channel. Valid values are Phone, Chat, or Default. | |
| channelItems | RecordActionDefaultItem | 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. | |
| isAutopopEnabled | boolean | 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. |
RecordActionDeploymentContext
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. Available in API version 46.0 and later.
| Field Name | Field Type | Description |
|---|---|---|
| entityName | string | Required. Specifies the API name of an object to use as context. |
| recommendationStrategy | string | 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. |
RecordActionRecommendation
Specifies settings to display Next Best Action recommendations in the component. Available in API version 46.0 and later.
| Field Name | Field Type | Description |
|---|---|---|
| defaultStrategy | string | Specifies the API name of the default Next Best Action strategy, which is a metadata type, RecommendationStrategy. |
| hasDescription | boolean | Required. If true, display the description for the recommendation. |
| hasImage | boolean | Required. If true, display the image for the recommendation. |
| hasRejectAction | boolean | Required. If true, display the label that the user clicks to reject the recommendation. |
| hasTitle | boolean | Required. If true, display the title for the recommendation. |
| maxDisplayRecommendations | int | Required. Specifies the maximum number of recommendations to display. Valid values are 1–4. |
RecordActionSelectableItem
Represents the set of actions available for users to add to the component at runtime.
| Field Name | Field Type | Description |
|---|---|---|
| action | string | Required. Specifies the API name of an action. For example, the API name of a flow, such as Verify_Information. |
| type | RecordActionType (enumeration of type string) | Required. The type of action that’s associated with the record. Valid values are:
|
| isFrequentAction | boolean | 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. |
| frequentActionSequenceNbr | integer | The sequence number that's assigned to a frequently used action that's shown on Action Launcher. Available in version 57.0 and later. |
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.