---
schema_version: "1"
id: d771b7774b77ddf5594fc43daa847efa6478336e23d906cbcb91a2d83a338de8
title: Business Rules
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/concept_decision_table_rules.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.concept_decision_table_rules.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: b8449297aac0094506dd9fc334cd750ac06ea9f42f351f9155dd4fd6ca53d644
description: Decision tables provide outcomes based on business rules. Rules are defined as records in a standard object, custom object, or a custom metadata type. A decision table can read up to 100,000 rules.
products:
  - Industry Solutions
  - Cross Cloud
release: "264"
---
# Business Rules

Decision tables provide outcomes based on business rules. Rules are defined as records in a standard object, custom object, or a custom metadata type. A decision table can read up to 100,000 rules.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Enterprise, Performance, and Unlimited Editions with Loyalty Management or Rebate Management</td></tr></tbody></table>

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-decision_table-264-0-0-production-enus/b36b081a-a35e-4748-bca9-059568605a0b/images/icon_note.png)

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](https://help.salesforce.com/s/articleView?id=ind.decision_tables.htm&type=5&language=en_US).

The object or the custom metadata type contains fields that are used as inputs and outputs in the decision table. Input fields use values from the business rules to evaluate field values or user-specified values, and provide outcomes.

When values match a particular rule, the decision table provides the value of the output field of the matched rule as the outcome. If a value matches multiple rules, the decision table provides a list of outcomes.

![Important](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-decision_table-264-0-0-production-enus/b36b081a-a35e-4748-bca9-059568605a0b/images/icon_important.png)

Important If a rule doesn't have values for specific input fields, the decision table ignores the blank fields when evaluating a value. The decision table then can provide multiple outcomes. An outcome results when the specified values match with a rule based on the input fields condition of the decision table. Outcomes result when rules that don't have values for one or more input fields and the values of the remaining input fields match based on the input fields condition.

Group your business rules with a frequently used input field and run up to 1,000,000 calls in an hour.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-decision_table-264-0-0-production-enus/b36b081a-a35e-4748-bca9-059568605a0b/images/icon_note.png)

Note You can't use these standard objects as the source for your rules:

- Account
- Contact
- Lead
- Opportunity
- Case

![Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-decision_table-264-0-0-production-enus/b36b081a-a35e-4748-bca9-059568605a0b/images/icon_example.png)

Example A company has three business rules. The first rule is that a product that's categorized as a shoe and is priced at US$500 or less is discounted by 5%. The second rule is that shoes priced between US$500 and US$1,500 are discounted by 10%. The third rule is that all products up to US$2,000 are discounted by 8%. The custom object that contains the rules is named Product Discount Rules. The object contains four fields: Category, Lowest Price Point, Highest Price Point, and Discount. The object contains three rules, each containing the details of one rule.

The first record contains these values:

- Category: Shoe
- Lowest Price Point: US$0
- Highest Price Point: US$500
- Discount: 5%

The second record contains these values:

- Category: Shoe
- Lowest Price Point: US$501
- Highest Price Point: US$1,500
- Discount: 10%

The third record contains these values:

- Category: —
- Lowest Price Point: US$0
- Highest Price Point: US$2,000
- Discount: 8%

Category, Lowest Price Point, and Highest Price Point are inputs in the decision table and Discount is the output. A shoe worth US$400 is evaluated by the decision table. It checks the rules and provides 5% as the outcome because the shoe matches the first rule. When the decision table evaluates another shoe priced at US$750, it provides two outcomes: 10% and 8% because the product matches the second and third rules. It matches the third rule because an input field (Category) in the rule doesn't have a value, and the shoe isn't evaluated against that input field. So, based on the price alone, the shoe also matches the third rule.

- **[Business Rule Grouping](https://help.salesforce.com/s/articleView?id=ind.concept_decision_table_group_rules.htm&release=264.0.0&type=5)**  
    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.

#### See Also

- [Decision Table Key Terms and Workflow](https://help.salesforce.com/s/articleView?id=ind.reference_decision_table_workflow.htm&release=264.0.0&type=5 "Let’s take a quick look at the key terms and the workflow, and at how decision tables provide outcomes.")
- [Custom Object with Product Discount Rules (Example)](https://help.salesforce.com/s/articleView?id=ind.reference_decision_table_example_rules_object.htm&release=264.0.0&type=5 "You can use standard or custom objects to store decision table rules. In this example, an admin creates a custom object to store discount rules for orders. A decision table uses these rules to determine order discounts.")