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 custom metadata type
that the decision table must read. Select one or more output fields. The output fields contain the
values that provide the outcomes.
Required Editions
| Available in: Lightning Experience in Enterprise, Performance,
Developer, and Unlimited Editions that have Loyalty Management
enabled.
|
| User Permissions Needed |
| To create, edit, and activate a decision table: |
System Administrator profile |
Let’s say a loyalty member of New Airlines has Tier Points totaling about 5000 points from the
previous transactions. The member decides to redeem some points to purchase a business class
ticket.
As an admin, you can automate the point redemption process. In this example, we create a flow
that redeems non-qualifying points for members based on the class of ticket that they
purchase.
-
Create a custom object Redemption Chart with Product and Price
as the input and output fields for your decision table.
-
Create records for the Redemption Chart as defined in the following Redemption
Catalog.
| Product |
Points |
| Business Class Seat |
3000 |
| Economy Class Seat |
2000 |
-
From Setup, in the Quick Find box, enter Decision Tables, and
then select Decision Tables.
-
Click New.
-
Enter a name and description for the decision table.
-
From Decision Table Type, select Standard.
-
Click Next.
-
In the source object, select Redemption Chart object.
-
Click Next.
-
From the Use As list, select Input field
for Product.
-
From the Use As list, select Output field
for Points.
-
Save your changes.