PEGACPSA88V1-QUESTION practice question 6 of 15
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 ?
Full set: 82 questionsThe requirement is to automatically update a target property (total cost) whenever a source property (room selection) changes. This is the exact function of a Declare Expression. A Declare Expression defines a computational relationship between properties. The Pega Platform's declarative processing network monitors the source properties. When a user changes the room selection, the network automatically re-evaluates the expression and updates the total cost property, ensuring the value is always current without needing explicit procedural calls.
A. A Validate rule is used to verify that user input meets specified criteria before the data is submitted, not to perform calculations that update other fields.
B. A "Disable when" condition makes a field read-only based on a specified condition; it does not calculate or set the field's value.
C. A "When" condition is a rule that evaluates to true or false. It is used to control process flow or UI element visibility, not to perform calculations.
1. Pega Academy | Certified Pega System Architect (8.8) | Calculations | Declare expressions:
"A declare expression is a rule that defines a relationship between properties. When a source property value changes, the target property value is automatically updated. For example, you can create a declare expression that calculates the total cost of a hotel reservation whenever the user selects or changes their room selection." This directly validates the use of a Declare Expression for the described scenario.
2. Pega Platform 8.8 Documentation | Rule types | Declare Expression form:
"Use this form to define a declarative expression that calculates and updates the value of a target property, based on the values of one or more source properties... The system monitors the source properties. If a value changes, the system automatically updates the target property value." This confirms that Declare Expressions are the designated rule type for automatic, dependency-based calculations.
3. Pega Academy | Certified Pega System Architect (8.8) | Data and integration | Validating case data:
"Validation rules define constraints on data values... to ensure that users enter valid values." This reference clarifies that Validate rules (Option A) are for data integrity checks, not for performing calculations.
Keep practicing
Take the free PEGACPSA88V1-QUESTION practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other PEGACPSA88V1-QUESTION practice questions
- Question 1Which of the following statements about responsive breakpoints is true? Available Choices…
- Question 2A reservation process allows customers to reserve a flight, hotel room, and rental car as…
- Question 3A library application used by staff creates a book request case when a member wishes tobo…
- Question 4You are asked to create a visualization that allows managers in the Customer Service divi…
- Question 5Which one of the following statements about configuring application access is true? Avail…
- Question 7During testing you notice that the Send case status email step does not send an email Whi…
