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.
DecisionMatrixDefinition
File Suffix and Directory Location
DecisionMatrixDefinition components have the suffix .decisionMatrixDefinition and are stored in the decisionMatrixDefinition folder.
Version
DecisionMatrixDefinition components are available in API version 55.0 and later.
Fields
| Field Name | Description |
|---|---|
| description |
|
| groupKey |
|
| label |
|
| processType |
|
| subGroupKey |
|
| type |
|
| versions |
|
DecisionMatrixDefinitionVersion
Represents a definition of a decision matrix version.
| Field Name | Description |
|---|---|
| columns |
|
| decisionMatrixDefinition |
|
| endDate |
|
| groupKeyValue |
|
| label |
|
| rank |
|
| startDate |
|
| status |
|
| subGroupKeyValue |
|
| versionNumber |
|
DecisionMatrixDefinitionVersionColumn
Represents a definition of a column in a decision matrix definition version.
| Field Name | Description |
|---|---|
| columnType |
|
| dataType |
|
| displaySequence |
|
| isWildcardColumn |
|
| name |
|
| rangeValue |
|
| wildcardValue |
|
Declarative Metadata Sample Definition
The following is an example of a DecisionMatrixDefinition component.
1<?xml version="1.0" encoding="UTF-8"?>
2<DecisionMatrixDefinition
3 xmlns="http://soap.sforce.com/2006/04/metadata">
4 <label>HealthCloudUM_ValidRegions</label>
5 <type>Standard</type>
6 <versions>
7 <fullName>HealthCloudUM_ValidRegions_V1</fullName>
8 <columns>
9 <columnType>Input</columnType>
10 <dataType>Text</dataType>
11 <displaySequence>2</displaySequence>
12 <isWildcardColumn>false</isWildcardColumn>
13 <name>State</name>
14 </columns>
15 <columns>
16 <columnType>Input</columnType>
17 <dataType>Text</dataType>
18 <displaySequence>1</displaySequence>
19 <isWildcardColumn>false</isWildcardColumn>
20 <name>City</name>
21 </columns>
22 <columns>
23 <columnType>Output</columnType>
24 <dataType>Boolean</dataType>
25 <displaySequence>3</displaySequence>
26 <isWildcardColumn>false</isWildcardColumn>
27 <name>IsValid</name>
28 </columns>
29 <decisionMatrixDefinition>HealthCloudUM_ValidRegions</decisionMatrixDefinition>
30 <label>HealthCloudUM_ValidRegions V1</label>
31 <startDate>2022-05-02T13:04:06.000Z</startDate>
32 <status>Draft</status>
33 <versionNumber>1</versionNumber>
34 </versions>
35</DecisionMatrixDefinition>The following is an example package.xml that references the previous definition.
1<?xml version="1.0" encoding="UTF-8"?>
2<Package
3 xmlns="http://soap.sforce.com/2006/04/metadata">
4 <types>
5 <members>*</members>
6 <name>DecisionMatrixDefinition</name>
7 </types>
8 <version>67.0</version>
9</Package>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.