Newer Version Available

This content describes an older version of this product. View Latest

WorkSkillRouting

Represents a setup object that stores a set of WorkSkillRoutingAttribute objects. These objects are used to route a work item to an agent who has the skills necessary to take the work. This type extends the Metadata metadata type and inherits its fullName field.

File Suffix and Directory Location

WorkSkillRouting components have the suffix workSkillRouting and are stored in the workSkillRoutings folder.

Version

WorkSkillRouting components are available in API version 46.0 and later.

Fields

Field Name Field Type Description
isActive boolean Required. Indicates whether assignment rules are active and can be evaluated.
masterLabel string Required. Master label for this object. This display value is the internal label that is not translated.
relatedEntity string Required. Type of Salesforce object that the attributes are associated with.
workSkillRoutingAttributes WorkSkillRoutingAttribute[] A set of mappings between work-item field values and skills. Create one attribute mapping set for each object.

WorkSkillRoutingAttribute

Represents the routing assignments between object attributes and skills. Attributes are used to route a work item to an agent who has the skills necessary to take the work.

Fields

Field Name Field Type Description
field string Required. Field that this attribute applies to.
isAdditionalSkill boolean After a designated timeout period, additional skills are dropped from Omni-Channel routing. The case is then routed to the best-matched agent even if they don’t have all the skills.
skill string Required. Skill used to route the work item when the attribute maps to the value selected.
skillLevel int Level of the skill required. This value can range from 0 to 10.
value string Attribute value that is assigned to the selected skill.

Declarative Metadata Sample Definition

The following is an example of a WorkSkillRouting component.

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.