ADM-201 · Question #345
Cloud 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 question that is needed. How should an…
The correct answer is B. Use a decision element and a new screen to show the proper question. To ensure only the necessary question is displayed on a screen flow when only one of two questions is needed at a time, the administrator should use a decision element to route to separate screens, each with a single question.
Question
Cloud 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 question 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.
- CA Use conditional visibility to hide the unnecessary question,
- DUse branching in the flow screen to show the proper scenario.
How the community answered
(45 responses)- A7% (3)
- B78% (35)
- C2% (1)
- D13% (6)
Why each option
To ensure only the necessary question is displayed on a screen flow when only one of two questions is needed at a time, the administrator should use a decision element to route to separate screens, each with a single question.
Using a new version of the flow for each scenario is inefficient and difficult to maintain, as it creates multiple flows for what could be handled by a single, dynamic flow.
Using a decision element allows the flow to evaluate conditions based on prior user input or data, directing the flow path to entirely separate screens. Each screen would then contain only the single, relevant question required for that specific scenario, ensuring a clean and targeted user experience without showing unnecessary components.
While conditional visibility can hide elements on a single screen, it still renders all components in the background. For distinct questioning paths that require a clear separation or may lead to different subsequent flow logic, using a decision element to branch to separate screens is a more robust and organized approach.
Branching in the flow screen generally refers to conditional navigation within the same screen or moving to subsequent screens, but without a decision element and separate screens, it doesn't precisely achieve showing *only* the needed question with distinct screen layouts.
Concept tested: Screen Flow Logic and Design
Source: https://help.salesforce.com/s/articleView?id=sf.flow_ref_elements_decision.htm&type=5
Topics
Community Discussion
No community discussion yet for this question.