Loading
Public Sector Documentation
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
          Integrate Business Rules Engine with Decision Explainer

          Integrate Business Rules Engine with Decision Explainer

          Make your form and business rule available to Decision Explainer so that reviewers in Public Sector (formerly Public Sector Solutions) can access decision logs.

          Required Editions

          View supported product editions.
          User Permissions Needed
          To configure guided flows with Omniscripts: OmniStudio Admin
          To use Decision Explainer entities: Decision Explainer Service Access
          To use Business Rules Engine: Rule Engine Designer

          With Business Rules Engine, you can automate the calculation of fees based on certain factors. For example, a salon must pay an application fee for a new business license. The application fee amount may vary depending on the zip code of the establishment, the number of chairs in the salon, or a combination of these factors.

          To automate fee calculation with Business Rules Engine, set up decision matrices to store the base fee amounts for each factor, such as zip code and chair quantity. Then, configure an expression set to calculate the total fee based on the input parameters.

          When the constituent submits the application, an expression set action step in the Omniscript invokes the expression set, which automatically determines the fee by processing the input data through the conditions and calculations in your expression set.

          Decision Explainer then creates a log that provides the reasoning behind the fee calculation.

          Note
          Note The ApplyforBusinessAuthorization process package is available in your org after you install the Omnistudio package, which includes sample Omniscripts and expression sets for application fee calculations.

          To invoke the expression set that calculates the fee, add an expression set action step to the Omniscript.

          1. In the Omnistudio app, from the app navigation menu, select Omniscripts.
          2. Select the Omniscript version for your application.
          3. Click New Version.
          4. Add an Expression Set Action step.
            1. In the Build panel, expand Actions.
            2. Drag an Expression Set Action directly below the Set Values step that sets the input data for the expression set.
            3. In the Properties panel, name the expression set action. For example, enter GetLicenseFeeExplanation.
          5. In the Properties panel of the expression set action, under Remote Options, select + Add New Key/Value Pair, and add these key-value pairs.
            Key Value
            explainabilitySpecName Enter the dev name provided in the explainability action definition record that calculates the license fee. For example, enter License_Fee_Calculation.
            actionCodeContext Enter the record ID to which you want to associate the action logs.
            Note
            Note You can’t edit the properties of an active Omniscript.
            Omnistudio saves your work automatically.
           
          Loading
          Salesforce Help | Article