Discussion

3
Replies
495
Views
Giridhar_Metikal Member since 2014 95 posts
Instellars Global Consulting
Posted: June 16, 2016
Last activity: November 9, 2016
Closed

Query on LSA (7.1) Quiz - Business Rules - Declare-OnChange

Which of the following is not a good use case for using Rule-Declare-OnChange rules? (Choose One)
1. You wish to dynamically recalculate the sum of a list on the browser. (Correct Answer)
2. You wish to suspend work and call an audit flow when a risk score goes above a threshold.
3. You wish to execute an activity to call a collection whenever critical properties change in a temporary work object.
4. You wish to execute an activity to track changes to a pagelist each time that list is updated.

In the above quiz question, how to achieve option 4 using Declare-OnChange rule? I understand that we can refer a property present in a PageList property whose type is that of either the "Applies To" class of the Declare-OnChange rule or the class of the page referred in Page Context's class, but how does it ensure changes to PageList while it can track only the referred property in the PageList? Thanks in advance.

Pega Academy
Moderation Team has archived post
Share this page LinkedIn