PEGAPCBA87V1-PRACTICE-QUESTIONS practice question 1 of 15

A reservation process allows customers to reserve a flight, hotel room, and rental car as part of a travel Itinerary. Which configuration displays the Select hotel amenities section only if a user selects the Add amenities check box?

Full set: 74 questions
Answer options
A: A disable condition (when rule) applied to the Add amenities check box
B: A disable condition (when rule) applied to the Select hotel amenities section
C: A required condition (when rule) applied to the Add amenities check box
D: A visibility condition (when rule) applied to the Select hotel amenities section Correct answer
Correct Answer:
D. A visibility condition (when rule) applied to the Select hotel amenities section
Explanation

The requirement is to display a UI element (the "Select hotel amenities" section) only when a specific condition is met (the "Add amenities" check box is selected). In Pega, this dynamic UI behavior is configured using a visibility condition. By applying a visibility condition to the "Select hotel amenities" section that evaluates the state of the checkbox, the section will only be rendered and displayed to the user when the checkbox is selected.

Why Incorrect

A. A disable condition (when rule) applied to the Add amenities check box: This would make the checkbox itself read-only based on a condition, which does not affect the visibility of another section.
B. A disable condition (when rule) applied to the Select hotel amenities section: This would display the section but make it read-only (grayed out), preventing user interaction. The requirement is to hide the section entirely.
C. A required condition (when rule) applied to the Add amenities check box: This would make the checkbox a mandatory field based on a condition, which is unrelated to controlling the visibility of the amenities section.

References

1. Pega Platform 8.7 Documentation, "Configuring a layout": In the "Layout properties" section, the "Visibility" setting is described. It states, "Determine when the layout is displayed. For example, you can display a layout with shipping fields only if a user indicates that the billing and shipping addresses are different." This directly corresponds to the question's scenario of conditionally displaying a section based on user input.

2. Pega Platform 8.7 Documentation, "Configuring conditional visibility for a control": This document explains how to make the user interface more dynamic by configuring controls to be visible only when a specific condition is met. It details using the "Visibility" setting in the control's properties panel, which can be set to "Condition (when rule)" to achieve the desired outcome.

3. Pega Academy, "Pega Certified Business Architect (PCBA) 8.7" courseware, Module: "User Interface", Lesson: "Configuring dynamic UI behavior": This lesson explicitly teaches that to show or hide a layout or section based on a value entered by a user, a business architect must configure a visibility condition on the layout or section properties. It contrasts visibility conditions with disable and required conditions.

Scroll to Top