PEGACPSA88V1-QUESTION practice question 2 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 a Select flight insurance check box only when the itinerary includes a flight? Available Choices (select all choices that are correct)

Full set: 82 questions
Answer options
A: A disable condition (When rule) that is applied to the section with the flight insurance information.
B: A visibility condition (When rule) that is applied to the Select flight insurance check box. Correct answer
C: A required condition (When rule) that is applied to the Select flight insurance check box.
D: A disable condition (When rule) that is applied to the Select flight insurance check box.
Correct Answer:
B. A visibility condition (When rule) that is applied to the Select flight insurance check box.
Explanation

The requirement is to display the "Select flight insurance" checkbox only when a specific condition is met (the itinerary includes a flight). In Pega, the visibility of a UI control is managed by a visibility condition. By applying a When rule to the visibility setting of the checkbox, the control will be rendered on the user interface only when the condition evaluates to true. This directly addresses the requirement to show or hide the field based on case data.

Why Incorrect

A. A disable condition makes the entire section visible but read-only, which does not meet the requirement to hide the information.
C. A required condition makes a field mandatory for data entry but does not control its visibility. The checkbox would always be visible.
D. A disable condition makes the checkbox visible but non-interactive (grayed out), failing to meet the requirement of displaying it only when needed.

References

1. Pega Academy, Low-Code App Builder (8.8) Mission: In the "Configuring a view for a case type" module, the topic "Setting field behavior" explicitly details the use of visibility conditions. It states, "You can configure the visibility of a field to be displayed always or based on a when condition. For example, in a shipping form, the Is the shipping address the same as the billing address? check box is displayed only if the customer provides a billing address." This directly aligns with the question's scenario.

2. Pega Platform 8.8 Documentation, "Configuring conditional field visibility": This document outlines the procedure for controlling field display. It specifies using the "Visibility" setting in the field's properties panel and selecting "Condition (when rule)" or "Condition (expression)" to define the logic that determines when the field appears. This is the standard Pega method for implementing the described requirement.

3. Pega Platform 8.8 Documentation, "When condition rules": This document explains that When rules are used to define conditional logic that can be reused in various parts of an application, including controlling the visibility, read-only status, or requirement status of UI elements. It confirms that a When rule is the appropriate mechanism to create the condition for the visibility setting.

Scroll to Top