During a promotional period, customers who agree to receive emails get a discount based on their order total.
If the order total is greater than USD100, USD10 is deducted from the order. If the order total is greater than USD150, USD25 is deducted from the order. If the order total is greater than USD200, USD50 is deducted from the order.
How do you configure the Promotional discount field?
- Create a calculated currency field that uses a custom expression.
- Create a calculated currency field that uses a decision table.
- Create a query field that references a promotional discount data page.
- Create a data reference field that references a promotional discount data page.
Answer(s): B
Explanation:
To configure the Promotional discount field, you need to create a calculated currency field that uses a decision table. A calculated field sets its value based on one or more input fields by using functions or custom calculations.
A decision table is a type of calculation that defines multiple conditions and outcomes in a tabular format. In this case, you can use a decision table to define the different order total ranges and their corresponding discount amounts. The other options are either incorrect or irrelevant for this requirement.
Reference:
https://academy.pega.com/topic/calculated-values/v1 https://docs-previous.pega.com/decision-management/87/decision-tables
Reveal Solution Next Question