Newer Version Available

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

CaseClassificationSettings

Represents the Einstein Case Classification settings for an org. This type extends the Metadata metadata type and inherits its fullName field.

In the package manifest, all organization settings metadata types are accessed using the Settings name. See Settings for more details.

File Suffix and Directory Location

CaseClassificationSettings values are stored in the CaseClassification.settings file in the settings folder. The .settings files are different from other named components because there’s only one settings file for each settings component.

Version

CaseClassificationSettings components are available in API version 47.0 and later.

Fields

Field Name Field Type Description
caseClassificationRecommendations boolean Indicates whether Einstein Case Classification is enabled in your org. The default value is false.
reRunAttributeBasedRules boolean If true, skills-based routing rules are run after Einstein Case Classification automatically updates field values. The default value is false.
runAssignmentRules boolean If true, assignment rules are run after Einstein Case Classification automatically updates field values. The default value is false.

Declarative Metadata Sample Definition

The following is an example of a CaseClassificationSettings component.

1<?xml version="1.0" encoding="UTF-8"?>
2<CaseClassificationSettings xmlns="http://soap.sforce.com/2006/04/metadata">
3    <caseClassificationRecommendations>true</caseClassificationRecommendations>
4    <reRunAttributeBasedRules>true</reRunAttributeBasedRules>
5    <runAssignmentRules>true</runAssignmentRules>
6</CaseClassificationSettings>

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

1<?xml version="1.0" encoding="UTF-8"?>
2<Package xmlns="http://soap.sforce.com/2006/04/metadata">
3    <types>
4        <members>CaseClassification</members>
5        <name>Settings</name>
6    </types>
7    <version>47.0</version>
8</Package>