---
schema_version: "1"
id: 98811eb8b87f11fe90010f3c96d4d86bb5969cabc406697c8b72ffebc66d51af
title: ExplainabilityMsgTemplate
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_meta/meta_explainabilitymsgtemplate.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_explainabilitymsgtemplate.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 20374a8be3d8bbd7698e44943cc6c0816f22374b35b48c87eea41711602327ad
description: Represents information about the template that contains the decision explanation message for a specified expression set step type.
---
# 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](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/metadata.htm "The base class for all metadata types. You can’t edit this object. A component is an instance of a metadata type.") 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 |
| --- | --- |
|  |  |
| 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





 |
| 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







 |
| expsSetProcessType | 

Field Type

ExpsSetProcessType (enumeration of type string)

Description

Required.

The type of industry that’s using the expression set.

Valid values are:

- Bre
- GpaCalculation
- InsuranceClaimProcessing—Available in API version 65.0 and later.
- ItServiceManagement—Available in API version 65.0 and later.
- PlanCostCalculation
- RatingDiscovery
- StudentInformationSystem—Available in API version 65.0 and later.
- StudentSuccess

When Business Rules Engine is enabled for a Salesforce instance, the default value is 'Bre’. Other process types are available to you depending on your industry solution and permission sets.



 |
| 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.

<?xml version="1.0" encoding="UTF-8"?>
<ExplainabilityMsgTemplate
	xmlns="http://soap.sforce.com/2006/04/metadata">
	<evaluationResult\>Passed</evaluationResult\>
	<expressionSetStepType\>Condition</expressionSetStepType\>
	<expsSetProcessType\>ProductQualification</expsSetProcessType\>
	<isDefault\>false</isDefault\>
	<masterLabel\>ML EMT testDM</masterLabel\>
	<message\>EMT Testing</message\>
</ExplainabilityMsgTemplate\>

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

<?xml version="1.0" encoding="UTF-8"?>
<Package
	xmlns="http://soap.sforce.com/2006/04/metadata">
	<types\>
		<members\>\*</members\>
		<name\>ExplainabilityMsgTemplate</name\>
	</types\>
	<version\>68.0</version\>
</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](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/file_based.htm "HTML (New Window)").