Loading
Decision Table
Business Rule Grouping

Business Rule Grouping

Group your business rules with a frequently used input field to reduce the number of rows to process. Grouping splits your business rules into multiple groups and evaluates only the required group.

Required Editions

Available in: Lightning Experience
Available in: Enterprise, Performance, and Unlimited Editions with Loyalty Management or Rebate Management
Note
Note Decision tables are also available as part of Business Rules Engine. If your org has Business Rules Engine enabled, see Decision Tables for Business Rules Engine.

Group business rules to invoke a decision table that evaluates fewer than 10,000 rules up to 1.5 million times per hour. And a decision table that evaluates more than 10,000 rules up to 150,000 times per hour. We recommend that the input field that’s used to group business rules divides the data with fewer than 1,000 records in a single group.

For information on the limits for grouping business rules, see Decision Table Capabilities and Limitations.

Example
Example A shoe company that has 30,000 business rules determines the discount percentage by shoe type and by the quantity purchased. The company specifies Maximum Quantity, Minimum Quantity, and Shoe Type as inputs and Discount as the output. The input field condition is All conditions are met (AND) and Shoe Type is the input field that groups the business rules. By grouping the business rules for discounts by shoe type, the company brings down the number of rules to query to 900.
Example
Example An airline company data contains 30,000 business rules with input fields such as Source, Destination, Miles, and Class. Group the business rules with the Source field to limit records in each group to below 1,000. The decision table can now be invoked up to 150,000 times per hour.
 
Loading
Salesforce Help | Article