ADM-201 · Question #270
ADM-201 Question #270: Real Exam Question with Answer & Explanation
The correct answer is B: Use a record triggered flow.. To count open cases associated with each Account and update the Account with this value, a record-triggered flow should be used to maintain the count dynamically.
Question
Universal Containers (UC) would like to count the number of open cases associated with each Account and update the Account with this value every Friday evening. UC has several hundred open cases at any given time. What should the administrator use to complete this request?
Options
- AUse a scheduled Process Builder
- BUse a record triggered flow.
- CUse a scheduled flow.
- DUse a Roll-Up Summary field on Case.
Explanation
To count open cases associated with each Account and update the Account with this value, a record-triggered flow should be used to maintain the count dynamically.
Common mistakes.
- A. Process Builder is being deprecated in favor of Flow, and while it could be scheduled, a dedicated scheduled flow or a record-triggered flow is the recommended automation solution.
- C. A scheduled flow could run every Friday evening, iterating through Accounts and querying Cases, but a record-triggered flow offers a more efficient, real-time approach by updating the count only when relevant Case records change, which may be preferred for managing 'several hundred open cases' incrementally.
- D. Roll-Up Summary fields can only be created on master-detail relationships, but Account and Case have a lookup relationship, preventing the direct use of this field type.
Concept tested. Automating Roll-up Summaries for Lookup Relationships with Flow
Reference. https://help.salesforce.com/s/articleView?id=sf.flow_concepts_automation.htm&type=5
Topics
Community Discussion
No community discussion yet for this question.