Question

2
Replies
335
Views
Close popover
ying qu (yingq689)
Sun Life Financial Company

Sun Life Financial Company
CA
yingq689 Member since 2019 22 posts
Sun Life Financial Company
Posted: October 21, 2019
Last activity: October 28, 2019
Closed
Solved

Forward and backward chaining in declarative networks

Hi:

There is such a mock question:

You have created a series of forms for a vacation booking process. Declarative expressions are used to calculate values such as the cost of the flight, hotel, car rental, and taxes. The last form includes a field that displays the total amount that will be charged on the user's credit card. How do you configure the calculations so that the total amount is calculated only when the user reaches the last form?

I know we should use backward chaining for the total amount. But for the other expressions like the cost of the flight, hotel etc. could you please explain according to what criteria should we determine whether it should be forward or backward chaining?

Thanks a lot!

Pega Academy
Moderation Team has archived post