SALESFORCE-CERTIFIED-ADMINISTRATOR practice question 23 of 30

Universal Containers requires that when an Opportunity is closed won, all other open opportunities on the same account must be marked as closed lost. Which automation solution should an administrator use to implement this request?

Full set: 248 questions

Domain Workflow/Process Automation

Answer options
A: Quick Action
B: Workflow Rule
C: Flow Builder Correct answer
D: Outbound Message
Correct Answer:
C. Flow Builder
Explanation

This business requirement involves a record update (Opportunity to 'Closed Won') triggering updates on multiple other related records (other open Opportunities on the same Account). Flow Builder is the appropriate declarative automation tool for this scenario. A record-triggered flow can be configured to run when an Opportunity's stage is changed to 'Closed Won'. The flow can then query for all other open Opportunity records associated with the same Account ID and update their stage to 'Closed Lost'. This type of cross-object manipulation, which involves finding and updating a set of sibling records, is a key capability of Flow Builder and is beyond the scope of older tools like Workflow Rules.

Why Incorrect

A. Quick Action: Quick Actions are initiated manually by a user clicking a button on a record page; they cannot be triggered automatically by a record update.
B. Workflow Rule: Workflow Rules are deprecated and cannot perform this action. They can only update the triggering record itself or its direct master record in a master-detail relationship.
D. Outbound Message: An Outbound Message is an action used to send data to an external system. It does not perform updates on records within Salesforce.

References

1. Salesforce Help, "Which Automation Tool Do I Use?": This official guide compares automation tools. It states, "Flow Builder can do everything that workflow rules and Process Builder can—and more... For all new automations, we recommend using Flow Builder." It specifically highlights Flow's ability to "Get, create, update, and delete records," which is required here to find and update the other opportunities.

2. Salesforce Help, "Record-Triggered Flow": This documentation details how flows can be triggered by record changes. The scenario requires a trigger when an Opportunity is updated, which is a primary function of a record-triggered flow. The documentation explains the flow can then "look up and update records that are related to the triggering record."

3. Salesforce Help, "Workflow Rule Considerations": This document outlines the limitations of Workflow Rules. It implicitly confirms their inability to handle this scenario by stating that a workflow rule can only update fields on the record that triggered the rule or its parent record, not sibling records like other Opportunities on the same Account.

Scroll to Top