SalesWorkQueueSettings
File Suffix and Directory Location
SalesWorkQueueSettings components have the suffix .salesworkqueuesetting and are stored in the salesworkqueuesettings folder.
Version
SalesWorkQueueSettings components are available in API version 49.0 and later.
Special Access Rules
You must be a Sales Engagement customer to access this metadata type.
Fields
Field Name | Field Type | Description |
---|---|---|
featureName | string | The feature that the SalesWorkQueueSettings record is configuring. The allowed value is ThirdPartyScore. |
targetEntity | string | The type that the SalesWorkQueueSettings record is configuring. Possible
values are:
|
targetField | string | The developer name or ID of the custom number field that is used to sort the
work queue. Custom fields must have a custom number data type.
|
Declarative Metadata Sample Definition
The following is an example of a SalesWorkQueueSettings component. The value for targetField is set to 00NRM000001g55D as an example of a custom field ID. Replace this value with the ID of your custom field.
<?xml version="1.0" encoding="UTF-8"?>
<SalesWorkQueueSettings xmlns="http://soap.sforce.com/2006/04/metadata">
<featureName>ThirdPartyScore</featureName>
<targetEntity>Contact</targetEntity>
<targetField>00NRM000001g55D</targetField>
</SalesWorkQueueSettings>
The following is an example package.xml that references the previous definition.
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>*</members>
<name>SalesWorkQueueSettings</name>
</types>
<version>49.0</version>
</Package>
Usage
Create one SalesWorkQueueSettings record for each type. For example, suppose that you want to create a work queue to sort leads by your custom field called customLeadScore. Create a SalesWorkQueueSettings record and set featureName to ThirdPartyScore, targetEntity to Lead, and targetField to customLeadScore.
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.