Question

Difficulty: MediumFlow Types and Triggers

A business analyst requests an automation solution for a custom object named Property_Appraisal__c. Whenever a new appraisal record is created or edited, the system must calculate an adjusted valuation and update the Appraisal_Status__c field on that same record before it is committed to the database. The solution must minimize transaction execution time and avoid triggering an additional save cycle. Which flow type and trigger configuration should be implemented to meet these requirements?

  1. A
    A Record-Triggered Flow configured for Actions and Related Records that uses an Update Records element to modify the triggering record.
  2. B
    An Autolaunched Flow that iterates over records in a loop element and executes an individual Update Records data manipulation within each cycle.
  3. A Record-Triggered Flow configured for Fast Field Updates that updates field values on the triggering record before database storage.Answer
  4. D
    A Record-Triggered Flow configured to run asynchronously after save under the expectation that standard validation rules evaluate post-commit.

Answer

A Record-Triggered Flow configured for Fast Field Updates that updates field values on the triggering record before database storage.
The correct solution uses a Record-Triggered Flow configured for Fast Field Updates (before-save). When field updates only affect the record that triggered the flow, before-save flows update values in memory prior to the record being saved to the database. This approach avoids additional DML statements, avoids re-running system validation rules or apex triggers, and delivers significantly faster execution times.

Step-by-Step Solution

1
Analyze the automation requirements for target record scope and timing.
The requirement involves modifying fields exclusively on the triggering record (Property_Appraisal__c) upon creation or update before database commitment.
Identifying whether changes affect the triggering record or related records determines the correct flow trigger timing and optimization mode.
2
Evaluate the optimal Record-Triggered Flow configuration for same-record updates.
Fast Field Updates (before-save) modify values stored in the $Record global variable before writing to the database, eliminating the need for an Update Records DML element.
Fast Field Updates run up to 10 times faster than after-save flows because they update fields in memory and do not trigger a recursive save cycle or fire duplicate automations.
3
Select the flow configuration that matches the performance and architectural criteria.
A Record-Triggered Flow configured with Fast Field Updates directly satisfies the requirement.
It fulfills all business logic needs while maintaining optimal transaction performance and adhering to Salesforce best practices.

Key Concept

Record-Triggered Flow Trigger Types: Fast Field Updates (Before-Save) vs. Actions and Related Records (After-Save)
Estimated Time:1m 15s
Rate this question