You are here:
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.
To invoke the expression set that calculates the fee, add an expression set action step to the Omniscript.
- In the Omnistudio app, from the app navigation menu, select Omniscripts.
- Select the Omniscript version for your application.
- Click New Version.
-
Add an Expression Set Action step.
- In the Build panel, expand Actions.
- Drag an Expression Set Action directly below the Set Values step that sets the input data for the expression set.
- In the Properties panel, name the expression set action. For example, enter GetLicenseFeeExplanation.
-
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 You can’t edit the properties of an active Omniscript.Omnistudio saves your work automatically.

