Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
EinsteinAgentSettings
In the package manifest, all organization settings metadata types are accessed using the Settings name. See Settings for details.
File Suffix and Directory Location
EinsteinAgentSettings values are stored in the EinsteinAgent.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
EinsteinAgentSettings components are available in API version 52.0 and later. In API version 52.0, we renamed CaseClassificationSettings components to EinsteinAgentSettings components to reflect how we consolidated settings for Einstein Case Classification and Einstein Case Wrap-Up. CaseClassificationSettings components are available in API version 47.0 through 51.0.
Fields
| Field Name | Field Type | Description |
|---|---|---|
| einsteinAgentRecommendations | boolean | Indicates whether Einstein classification apps are 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 EinsteinAgentSettings component.
1<?xml version="1.0" encoding="UTF-8"?>
2<EinsteinAgentSettings xmlns="http://soap.sforce.com/2006/04/metadata">
3 <einsteinAgentRecommendations>true</einsteinAgentRecommendations>
4 <reRunAttributeBasedRules>true</reRunAttributeBasedRules>
5 <runAssignmentRules>true</runAssignmentRules>
6</EinsteinAgentSettings>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>EinsteinAgent</members>
5 <name>Settings</name>
6 </types>
7 <version>52.0</version>
8</Package>