Question

Difficulty: MediumAutomation Tool Selection

A company manages partner onboarding using a custom object named Partner Application, which shares a Lookup relationship with the standard Account object. An administrator is tasked with building automation for two distinct business needs:
1. Update custom fields on the triggering Partner Application record prior to database commit to ensure optimal performance without triggering additional workflow cycles.
2. Recalculate and update a custom number field on the parent Account record to track the total count of approved Partner Applications.

Which TWO declarative solutions should the administrator implement to fulfill these requirements?

  1. A Record-Triggered Flow optimized for Fast Field Updates (before-save) on the Partner Application object.Answer
  2. A Record-Triggered Flow configured for Actions and Related Records (after-save) to update the parent Account record.Answer
  3. C
    A Roll-Up Summary field on the Account object that calculates the total count of related Partner Application records.
  4. D
    A Record-Triggered Flow configured for Actions and Related Records (after-save) to update fields on the triggering Partner Application record.

Answer

The administrator should implement a Record-Triggered Flow optimized for Fast Field Updates (before-save) for same-record field modifications, and an after-save Record-Triggered Flow (Actions and Related Records) to update the parent Account record.
Fast Field Updates (before-save flows) are specifically designed for modifying fields on the triggering record before it is committed to the database, avoiding extra DML operations. Meanwhile, updating parent/related records on a Lookup relationship requires an after-save Record-Triggered Flow because standard Roll-Up Summary fields are restricted to Master-Detail relationships.

Step-by-Step Solution

1
Evaluate requirement 1 regarding same-record field updates prior to saving.
Fast Field Updates (before-save Record-Triggered Flow) is selected because it updates the triggering record before database commit without extra DML overhead.
Before-save flows execute up to 10 times faster than after-save flows or legacy tools when modifying fields on the triggering record.
2
Evaluate requirement 2 regarding aggregating counts on a parent Account connected via a Lookup relationship.
An after-save Record-Triggered Flow (Actions and Related Records) is selected.
Roll-Up Summary fields are unsupported on Lookup relationships, so a declarative after-save flow must be used to perform updates across related records.

Key Concept

Selecting optimal automation tools based on trigger timing (before-save vs. after-save) and relationship type limitations (Master-Detail vs. Lookup).
Estimated Time:1m 30s
Rate this question