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 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.
Open the Decide Discount Percentage for Orders decision table.
On the Dataset Links card, click New.
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
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.
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.