CRT-101 · Question #132
Clod Kicks has a screen flow with two questions on the same screen, but only one is necessary at a time. The administrator has been asked to show only the questions that is needed. How should an…
The correct answer is C. Use a conditional visibility to hide the unnecessary question. Conditional Visibility in Screen Flows allows individual components on a screen to be shown or hidden based on conditions evaluated at runtime. This means both questions can live on the same screen, but each has a visibility rule that determines whether it appears. This is the…
Question
Clod Kicks has a screen flow with two questions on the same screen, but only one is necessary at a time. The administrator has been asked to show only the questions that is needed. How should an administrator complete this?
Options
- AUse a new version of the flow for each scenario.
- BUse a decision element and a new screen to show the proper question
- CUse a conditional visibility to hide the unnecessary question
- DUse branching in the flow screen to show the proper scenario
How the community answered
(16 responses)- A13% (2)
- B6% (1)
- C81% (13)
Explanation
Conditional Visibility in Screen Flows allows individual components on a screen to be shown or hidden based on conditions evaluated at runtime. This means both questions can live on the same screen, but each has a visibility rule that determines whether it appears. This is the cleanest, most maintainable solution. Option A (new flow version per scenario) is impractical and creates maintenance overhead. Option B (decision element + new screen) would work but forces branching into separate screens rather than keeping both questions on one screen. Option D describes branching within a screen, which is not a native Salesforce Flow feature - conditional visibility is the correct mechanism for this use case.
Topics
Community Discussion
No community discussion yet for this question.