---
schema_version: "1"
id: a1dcc93b17597161bf2edf8d963a2b6ed24eabf4acc48c31c2b0e8b73e41610f
title: Decision Table
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/concept_decision_table.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.concept_decision_table.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 165bd69222ef0a19fff8bef8451d527690dfdc983ed59e043d24f4c16d87691d
description: Define business rules and let decision tables decide the outcome. Decision tables read business rules and decide the outcome for records in your Salesforce org or for the values that you specify. A decision table can read up to 100,000 business rules and provide outputs based on your requirements.
products:
  - Industry Solutions
  - Cross Cloud
release: "264"
---
# Decision Table

Define business rules and let decision tables decide the outcome. Decision tables read business rules and decide the outcome for records in your Salesforce org or for the values that you specify. A decision table can read up to 100,000 business rules and provide outputs based on your requirements.

### 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).

Decision tables can read business rules with multiple inputs and provide multiple outputs.

![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 provides discounts on products based on product category and price. For the product category shoes, there are two discount rules. The first rule provides a discount of 5% if the price of the shoe is $500 or lower. For shoes above $500, the discount is 10%. The third rule provides the discount for any product that's priced above $1,000. The decision table uses the product and price as inputs and the discount percentage as the outcome.

- **[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.
- **[User Permissions for Decision Tables](https://help.salesforce.com/s/articleView?id=ind.concept_user_permissions.htm&release=264.0.0&type=5)**  
    Users in your Salesforce org require specific permissions to create or invoke a decision table.
- **[Business Rules](https://help.salesforce.com/s/articleView?id=ind.concept_decision_table_rules.htm&release=264.0.0&type=5)**  
    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.
- **[Create a Decision Table](https://help.salesforce.com/s/articleView?id=ind.task_decision_table_create.htm&release=264.0.0&type=5)**  
    Create a decision table and select the object or the custom metadata type that contains the business rules. Select the input fields from the business rules object or the custom metadata type for the decision table to read. Select one or more output fields that contain the values that are used to calculate outcomes.
- **[Add Dataset Links to a Decision Table](https://help.salesforce.com/s/articleView?id=ind.task_decision_table_dataset_link.htm&release=264.0.0&type=5)**  
    A decision table determines outcomes based on field values from different source objects. In a dataset link, you can map the decision table’s input fields with fields of different standard or custom objects.
- **[Activate a Decision Table](https://help.salesforce.com/s/articleView?id=ind.concept_decision_table_activate.htm&release=264.0.0&type=5)**  
    Only active decision tables can be run in a flow.
- **[Refresh a Decision Table](https://help.salesforce.com/s/articleView?id=ind.concept_decision_table_refresh.htm&release=264.0.0&type=5)**  
    To meet evolving business requirements, you add, update, or remove business rules that the decision table reads. If you update the object or the custom metadata type that contain the rules, refresh the decision table to ensure that the outcomes are based on the latest rules.
- **[Invoke a Decision Table](https://help.salesforce.com/s/articleView?id=ind.concept_decision_table_run.htm&release=264.0.0&type=5)**  
    After a decision table is activated, invoke the decision table in a flow to provide outcomes. You can invoke a decision table based either on a schedule or on your company's requirements.
- **[Distribute Decision Tables](https://help.salesforce.com/s/articleView?id=ind.reference_share_decision_tables.htm&release=264.0.0&type=5)**  
    You can share a decision table with other Salesforce orgs using change sets, managed packages, and unmanaged packages. Independent software vendors (ISV) and partners can distribute a decision table to their customers.
- **[Decision Tables for Developers](https://help.salesforce.com/s/articleView?id=ind.reference_decision_table_developer_resources.htm&release=264.0.0&type=5)**  
    Developers in your Salesforce org can employ Decision Tables developer resources to use and extend decision tables.
- **[Determine the Discount for Orders (Example)](https://help.salesforce.com/s/articleView?id=ind.concept_decision_table_example.htm&release=264.0.0&type=5)**  
    This example shows how an admin can set up a decision table to automate order discount decision process.
- **[Decision Table Capabilities and Limitations](https://help.salesforce.com/s/articleView?id=ind.reference_decision_table_data_limits.htm&release=264.0.0&type=5)**  
    Before you plan and create decision tables in Salesforce, make sure that you’re aware of the capabilities and limitations of decision tables.