Newer Version Available
WorkSkillRoutingAttribute
Represents a setup object that stores
metadata related to 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.
Version
WorkSkillRoutingAttribute components are available in API version 45 and later.
Fields
| Field Name | Field Type | Description |
|---|---|---|
| field | string | Field that this attribute applies to. |
| skill | string | 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 that contains attributes.
1<?xml version="1.0" encoding="UTF-8"?>
2<WorkSkillRouting xmlns="http://soap.sforce.com/2006/04/metadata">
3 <active>true</active>
4 <label>Attribute based routing for Case object</label>
5 <sobjectType>Case</sobjectType>
6 <attributes>
7 <field>Language</field>
8 <value>French</value>
9 <skill>Skill_fr</skill>
10 <skillLevel>4</skillLevel>
11 </attributes>
12</WorkSkillRouting>The following is an example package.xml that references the previous definition.