Loading
Business Rules Engine
Create a Standard Decision Matrix Manually

Create a Standard Decision Matrix Manually

If a decision matrix has only a few rows of data, creating the matrix manually is easier. When you create a decision matrix, the matrix's first version is created by default.

Required Editions

Available in: Lightning Experience
Available in: Enterprise, Unlimited, and Developer Editions for clouds that have Business Rules Engine enabled
User Permissions Needed
To create, update, and delete decision matrices and matrix versions: Rule Engine Designer
To use decision matrices in Business Rules Engine: Rule Engine Runtime

Create a decision matrix named StudentDiscountEligibility. This matrix determines the eligibility of students to receive a discount on fees based on a combination of their age and Grade Point Average (GPA).

  1. Click App explorer icon., and then find and select Business Rules Engine.
  2. Click the app navigation menu, and then select Lookup Tables.
  3. Click New.
  4. Select Decision Matrix | Next.
  5. For name, enter StudentDiscountEligibility, and for Type, select Standard.
  6. Save your changes.
  7. On the Related tab on the decision matrix record page, click version 1 of the matrix.
  8. On the Matrix tab, click Add Column, and then create three columns with these settings.
    Column Header Header Type Data Type
    StudentAge Input Number Range
    GPA Input Number Range
    Qualified Output Boolean
  9. Click Done.
  10. To create a row, click Add Row.
  11. To add row data, click a table cell, click Pencil icon, which on clicking allows adding cell data. in the cell, and then enter the value
    Add these rows and values.
    StudentAgeGPAQualified
    15 2 Not checked
    15 3 Not checked
    16 2 Not checked
    16 3 Checked
    25 2 Not checked
    25 3 Not checked
  12. Save your changes.
  13. Activate your decision matrix version:
    Expression sets can call only active matrix versions.
    1. From the actions menu for the decision matrix version, select Edit | Enabled.
    2. Save your work.

The final decision matrix looks like this.

Visual representation of the GoodStudentDiscountEligibility decision matrix on the canvas.

 
Laddar
Salesforce Help | Article