Determine Transaction Enrichment Providers by Using Business Rules
Automate the selection of transaction enrichment providers by using business rules. Configure a decision matrix to define the transactions eligible for enrichment and an expression set to determine the correct provider.
Required Editions
| Available in: Lightning Experience |
| Available in: Professional, Enterprise, and Unlimited Editions |
| User Permissions Needed | |
|---|---|
| To save an expression set template as an expression set version: | Rules Engine Designer |
| To use decision tables in Business Rules Engine and to run expression sets: | Rules Engine Runtime |
| To update integration procedures: | OmniStudio Admin |
| To run integration procedures: | OmniStudio User |
Decision matrices and expression sets are key components in the Business Rules Engine. Decision matrices are lookup tables that contain user-defined input and output columns. The engine takes in inputs and then looks up the appropriate outputs. When an expression set calls a decision matrix, the engine locates the table row that matches the input values and returns the output value for that row.
-
Define a decision matrix to determine which provider enriches transactions based on a
given transaction code.
- From the App Launcher, find and select Business Rules Engine.
- From the app navigation menu, select Lookup Tables.
- Click New.
- Select Decision Matrix and click Next.
- For Name, enter EnrichmentProviderMapping, and for Type, select Standard.
- Save your changes.
- On the record page of your new decision matrix, on the Related tab, click version 1 of the matrix.
-
Add columns to define your input and output data.
The input data includes financial account type and transaction code. The output data includes the enrichment provider name for each transaction code, card type, and payment network. Here’s a sample decision matrix for mapping a transaction code to an enrichment provider name:
INPUT DATA OUTPUT DATA FinancialAccountType(Text) TransactionCode (Text) ProviderNames (Text Range) CardType(Text) PaymentNetwork(Text) Credit Card 1300 EnrichmentProvider1, ConsumerClarity Credit Card Mastercard Credit Card 1400 EnrichmentProvider1 Credit Card Mastercard Credit card 1500 ConsumerClarity Credit Card Mastercard Credit Card 100000000000006 Visa Credit Card Visa Credit Card 100000000000009 Visa Credit Card Visa -
Save and activate your decision matrix.
After you create the decision matrix, reference it from the Identify Enrichment Provider expression set template.
-
Set up an expression set to map the corresponding enrichment provider for each
transaction code.
- From the App Launcher, find and select Business Rules Engine.
- From the app navigation menu, select Expression Set Templates.
- From the expression set templates list view, click Identify Enrichment Provider.
-
Click Save As.
The template is cloned and saved as an expression set. You can find the expression set in the expression set list.
- Open the expression set properties.
-
In the Rank field, enter a rank number.
When more than one enabled version matches an expression set call, and the date-time periods overlap, the version with the highest rank is chosen. For example, if two enabled versions have rank values set to 1 and 2, the version with rank 2 is chosen.
-
Activate the expression set.
After you activate the expression set, reference it in the FSC/TransactionDisputeEnrichment Integration Procedure.
-
Update the Integration Procedure with the expression set name.
- From the App Launcher, find and select OmniStudio.
- In the OmniStudio app, from the navigation bar, select Integration Procedures.
- Select the FSC/TransactionDisputeEnrichment Integration Procedure and open the highest version.
- Create a version of the Integration Procedure.
- Click EnrichmentExpressionSetAction expression set action.
- In the Configuration Name field, enter the name of the expression set.
- Save and activate the Integration Procedure.
Did this article solve your issue?
Let us know so we can improve!

