Loading
Business Rules Engine
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Decision Explainer for Expression Sets

          Decision Explainer for Expression Sets

          Use Decision Explainer with Business Rules Engine to show your users explanations for the results of steps in an expression set, and to capture action logs for expression set runs. Store explanations for expression steps in explainability message templates. And then add the templates to your expression set steps for which you want to show explanations. When you simulate the expression set version, switch to the Concise view option to preview how your users see the explanations.

          Required Editions

          Available in: Lightning Experience
          Available in: Enterprise, Unlimited, and Developer Editions for Industries clouds that have Business Rules Engine and Decision Explainer enabled

          Decision Explainer is a service that provides insight into why a business rule generated a specific result. For example, a student wants to know why they received a lesser discount on their course fee than what they expected. With Decision Explainer, the student application reviewer can check the application's history and the expression set that's used to evaluate the application, and provide the student the reason for receiving a lesser discount.

          • Create Expression Set Message Tokens
            Expression set message tokens serve as placeholders for specific values from an expression set version within an explainability message template. Without tokens, the explanation messages would be static and unable to reflect the specific data involved in a particular execution of the rule. Create a token, and then map it to actual resources to dynamically display relevant data in explanation messages.
          • Create an Explainability Message Template
            Explainability message templates store explanation messages, and can be referenced in an expression set version step to explain the step’s result. You can use expression set message tokens in your message templates as placeholders for expression set version resources. Rule designers can then map the tokens to the resources from the expression set version where the template is used. When the expression set runs, the explanations dynamically show the values of the mapped resources.
          • Show Rule Explanations to Users
            When Decision Explainer is available in your Salesforce org, you can show your users the explanations for expression set version step results. The explanations are stored in explainability message templates that your admin creates and maintains.
          • Disable Decision Explanations for Expression Set Version Steps
            To remove the explainability message templates assigned to an expression set version step, open the version in Expression Set Builder and deselect Show decision explanation for the step. You can disable decision explanations for expression set version steps only if the version is inactive.
          • Show Rule Explanations to Users (Example)
            This example shows how you can configure an expression set version to show step-result explanations to external users. The example also shows how to preview the explanations that your users see.
          • Compare Expression Set Runs with Decision Explainer
            To analyze why an expression set generated different outputs for each run, enable Decision Explainer for expression set versions, and then use the Compare option on the Decision Explainer Log History component. Decision Explainer logs are generated in the context of object records that an expression set is run for. To use the Compare option, the Decision Explainer Log History component must be enabled on the record page of the object within whose context the expression set is run.
          • Explainability Message Templates for Developers
            Developers in your Salesforce org can use developer resources to use and extend explainability message templates.
           
          Loading
          Salesforce Help | Article