PDI · Question #179
A credit card company needs to implement the functionality for a service agent to process damaged or stolen credit cards. When the customers call in, the service agent must gather many pieces of…
The correct answer is C. Screen-based flow. For a service agent to efficiently gather multiple pieces of information through a guided, interactive process, a screen-based flow is the most suitable declarative tool.
Question
A credit card company needs to implement the functionality for a service agent to process damaged or stolen credit cards. When the customers call in, the service agent must gather many pieces of information. A developer is tasked to implement this functionality. What should the developer use to satisfy this requirement in the most efficient manner?
Options
- AApex trigger
- BApproval process
- CScreen-based flow
- DLightning Component
How the community answered
(32 responses)- A6% (2)
- B13% (4)
- C78% (25)
- D3% (1)
Why each option
For a service agent to efficiently gather multiple pieces of information through a guided, interactive process, a screen-based flow is the most suitable declarative tool.
An Apex trigger executes business logic in the background in response to DML events and does not provide an interactive user interface for data collection from a user.
An approval process is designed to manage record approvals through a predefined workflow and is not intended for initial, interactive data gathering from a user.
A screen-based flow provides an interactive user interface that can guide a service agent through a series of steps and screens to systematically collect necessary information. This declarative approach is highly efficient for building multi-step data collection forms without requiring extensive custom code.
While a custom Lightning Component could fulfill the requirement, developing a multi-step data collection form typically involves more development effort and time compared to configuring a screen-based flow, making it less efficient for this common use case.
Concept tested: Screen flows for guided user input
Source: https://developer.salesforce.com/docs/atlas.en-us.salesforce_flow_considerations.meta/salesforce_flow_considerations/flow_considerations_screen_flow.htm
Topics
Community Discussion
No community discussion yet for this question.