Example: Create a Decision Matrix to Get Step-Based Discount Percent
Create a decision matrix and configure its version with an input column for number of
steps, and an output column with the corresponding discount percent based on a number range of
steps.
Required Editions
User Permissions Needed
To create decision matrices and activate matrix versions:
Rule Engine Designer
Create a decision matrix named StepBasedDiscount. This matrix uses step count as input, and
returns the matching discount percent.
Click , and then find
and select Business Rules Engine.
From the app navigation menu, select Lookup Tables.
Click New.
Select Decision Matrix | Next.
For name, enter StepBasedDiscount, and for Type, select
Standard.
Save your changes.
On the Related tab on the decision matrix record page, select StepBasedDiscount
V1.
On the Matrix tab, click Add Column, and then create two columns
with these settings.
Column Header
Header Type
Data Type
Steps
Input
Number Range
Discount
Output
Percent
Click Done.
To create a row, click Add Row.
To add row data, click a table cell, click in the cell, and then enter
the value.
Add these rows and values.
Steps
Discount Percent
35000
0
35,001
5
50,001
10
70,001
15
100,000
25
The Steps column in this matrix version represents number ranges. The values in the
column define these ranges: Below 35000, 35,001–50,000, 50,001–70,000,
70,001–99,999, and 1000,000 or above.
Save your changes.
Activate the decision matrix version.
Expression sets can call only active matrix versions.
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.