Loading
Decision Table
Create a Dataset Link to Map Order Fields (Example)

Create a Dataset Link to Map Order Fields (Example)

In this example, a decision table is already created to determine the discount percentage for orders. Next, create a dataset link to map the Order and Product object fields with the decision table input fields. The mapping informs the decision table of the Order and Product field values that must be evaluated to decide the discounts.

Required Editions

Available in: Lightning Experience
Available in: Enterprise, Performance, and Unlimited Editions with Loyalty Management or Rebate Management
User Permissions Needed
To create, edit, and activate a decision table: System Administrator profile
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 admin selects the object fields whose values are to be evaluated by the decision table.

  1. Open the Decide Discount Percentage for Orders decision table.
  2. On the Dataset Links card, click New.
  3. Name the dataset link as Evaluate Order and Product Field Values and complete these fields.
    Decision Table Field Source Object Source Object Field
    Maximum Quantity Order Order Quantity
    Minimum Quantity Order Order Quantity
    Product Name Product Product Name
    Dataset link
  4. Save your work.

Design a flow that invokes the decision table and provides discount percentages for products. The flow also updates the Product records with the discount percentage.

 
Loading
Salesforce Help | Article