Loading
Salesforce now sends email only from verified domains. Read More
Decision Table
Add Dataset Links to a Decision Table

Add Dataset Links to a Decision Table

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.

Required Editions

Available in: Lightning Experience
Available in: Enterprise, Performance, and Unlimited Editions with Loyalty Management or Rebate Management
User Permissions Needed
To create a dataset link: System Administrator
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.

The mapping informs the decision table of the field value to be evaluated by an input field. If you don’t map an input field to an object field, the decision table ignores the input field when it reads the rules.

You can only map object fields to input fields of the same data type. Also, you can’t map Picklist (Multi-Select) type input fields with Picklist (Multi-Select) type source object fields. You can map Picklist (Multi-Select) input fields with source object fields of the type Text, Picklist, or Lookup.

Note
Note A decision table can contain up to 5 dataset links.
  1. Open the decision table that you want to add a dataset link to.
  2. On the Dataset Links card, click New.
  3. Provide these details.
    Field Value
    Name Enter the name of the dataset link. The API name is autopopulated based on the name you enter.
    Source Object

    Select the objects that contain the fields whose values that the decision table must evaluate.

    You can select up to 5 source objects. If the decision table contains an input field to group the business rules, select a source object and a field for the source object.

    Source Object Field Map the fields of the selected source objects with the decision table’s input fields.
    Example of a Dataset Link.
  4. Save your work.
Example
Example

A company wants to determine a discount on orders based on the product name and the order quantity. The business rules that the decision table uses to calculate the discount percentage are stored in the Order Discount custom object. These input fields are selected from the Order Discount custom object: Product Name and Quantity. In the dataset link, the Product Name field is mapped to the Product Name of the Product object. And the Quantity field is mapped to the Order Quantity field of the Order object. When the decision table evaluates an order to determine the discount, it evaluates the value stored in the Order Quantity field of the Order object. It also evaluates the value stored in the Product Name field of the Product object.

 
Loading
Salesforce Help | Article