Newer Version Available

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

ExplainabilityMsgTemplate

Represents information about the template that contains the decision explanation message for a specified expression set step type.

Parent Type

This type extends the Metadata metadata type and inherits its fullName field.

File Suffix and Directory Location

ExplainabilityMsgTemplate components have the suffix .explainabilityMsgTemplate and are stored in the ExplainabilityMsgTemplates folder.

Version

ExplainabilityMsgTemplate components are available in API version 56.0 and later.

Fields

Field Name Description
expressionSetStepType
Field Type
ExpressionSetStepType (enumeration of type string)
Description

Required.

The step type in an expression set that uses the explainability message template.
Valid values are:
  • Aggregation
  • Branch
  • BusinessElement
  • Calculation
  • Condition
  • DecisionTableLookup
  • ListEnabledGroup
  • ListFilter
  • MatrixLookup
  • ReferenceProcedure
evaluationResult
Field Type
EvaluationResult (enumeration of type string)
Description

Required.

The type of result for which the message template can be used. The step type for which the result is evaluated can be a condition, conditional group, or branch.

Valid values are:

  • Failed
  • Passed
  • NoResult
isDefault
Field Type
boolean
Description
Indicates whether the decision explainer template for a specified step type is default (true) or not (false).
masterLabel
Field Type
string
Description

Required.

Master label the for ExplainabilityMsgTemplate.
message
Field Type
string
Description

Required.

The message associated with the template for a specific expression set step type.

Declarative Metadata Sample Definition

The following is an example of an ExplainabilityMsgTemplate component.

1<?xml version="1.0" encoding="UTF-8"?>
2<ExplainabilityMsgTemplate xmlns="http://soap.sforce.com/2006/04/metadata">
3    <evaluationResult>Passed</evaluationResult>
4    <expressionSetStepType>Condition</expressionSetStepType>
5    <isDefault>false</isDefault>
6    <masterLabel>ML EMT testDM</masterLabel>
7    <message>EMT Testing</message>
8</ExplainabilityMsgTemplate>

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>ExplainabilityMsgTemplate</name>
7	</types>
8	<version>58.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.