Certified Pega System Architect v8.0 (2019) — Question 6
A requirement for a hotel reservation case type states that as customers change their room selection, the total cost of the reservation updates.
How do you satisfy this requirement?
Answer options
- A. Configure a Validate rule for the room selection step.
- B. Apply a Disable when condition to the total cost field.
- C. Add a When condition to the room selection step.
- D. Define a declare expression for the total cost field.
Correct answer: C
Explanation
The correct answer is C because adding a When condition to the room selection step allows the system to trigger an update of the total cost whenever the room choice is altered. The other options do not provide a mechanism for dynamically updating the total cost based on room selection changes; for example, a Validate rule (A) checks for correctness rather than triggering updates, while a Disable when condition (B) prevents interaction and a declare expression (D) does not directly respond to user inputs.