A decision matrix matches input values to a table row and returns the row's output
values. Expression sets and various digital procedures can call decision matrices.
Decision matrices accept JSON input from, and return JSON output to the digital
processes that call the matrices. Decision matrices are useful for implementing
complex rules in a systematic, readable manner.
Required Editions
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
You can choose from these decision matrix types based on your business needs:
Multiple versions of the same decision matrix can be active simultaneously. The start date,
end date, and rank determine which version of the matrix to use. Ranks are
ascending, so rank 2 is higher than rank 1. If the start date of one version
of a decision matrix overlaps the end date of another, you can set rank
values to determine which one to use. If a call to a decision matrix
specifies an effective date, that date is used to find the correct matrix.
If an effective date isn't specified, the default is today.
Standard Decision Matrices Standard decision matrices have characteristics, such as input columns, output columns, and versions, that are common to all decision matrices, irrespective of their type. Use standard decision matrices when you don't need the matrix to be part of a group or to be versioned row by row.
Grouped Decision Matrices With grouped matrices, you can group a matrix's data into different versions if several rows have the same column values. For example, in a matrix with age and gender-based transport fares, you can use gender as the matrix key, with male and female as the key values for the versions. This grouping prevents repeating male and female as row values in the matrix and groups the data for males in one version and females in another.
Text Ranges in Decision Matrices If your matrix has considerable data, use ranges to keep the matrix small. With text ranges, you can concisely specify a range of acceptable values in a matrix column instead of listing individual values.
Numeric Ranges in Decision Matrices Use numeric ranges to keep matrices with sizable data small. With number ranges, you can concisely specify a range of acceptable values in a matrix column instead of listing individual values.
Create Standard Decision Matrices You can create a standard decision matrix by uploading a CSV file, by creating a version of an existing matrix, or manually.
Create Grouped Decision Matrices You can create a decision matrix that groups rows in versions based on a group key and, if necessary, a sub group key. Versions in a grouped decision matrix can have different start date time values. When a grouped matrix is invoked, the group or subgroup keys are considered like input variables, for which you must provide values for lookup.
Manage and Maintain Decision Matrices Learn how to edit decision matrix rows and columns, sort and filter matrix rows, and export matrices to CSV or DMN files.
Decision Matrix Migration Considerations Here are a few typical migration scenarios and recommendations on how to maintain decision matrices in your target org for a successful migration.
Decision Matrices for Developers Developers in your Salesforce org can employ decision matrix developer resources to use and extend decision matrices.
Hjalp denne artikkelen med å løse problemet ditt?
La oss få vite det slik at vi kan forbedre!
Laster
Salesforce Help | Article
Cookie Consent Manager
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.