Certified Pega Senior System Architect v7.4 — Question 16
Users can select a check box to subscribe to a messaging service. Selecting the check box displays a field for a user to enter a mobile phone number.
How do you configure the application to display a field for entering a mobile phone number only when the check box is selected?
Answer options
- A. Use a when condition in the flow to branch the flow based on case data.
- B. Use a when condition in the UI form to determine whether to show the mobile phone number field.
- C. Use a circumstance on the check box property to create a rule variant that is effective when the check box is selected.
- D. Use a when condition in a data transform to determine whether to show the mobile phone number field.
Correct answer: B
Explanation
The correct answer is B, as it directly addresses the UI form's functionality to conditionally display the mobile phone number field based on the check box selection. Option A relates to flow branching, which does not specifically manage UI elements. Option C discusses creating a rule variant, which is unnecessary for simply showing or hiding a field. Option D involves data transforms, which are not typically used for UI display logic.