An administrator at Global Logistics Inc. must automate updates to fields on the Shipment_Manifest__c custom object whenever a record is created or updated with a status of 'In Transit'. The automation must compute and populate the Estimated_Delivery_Date__c and Tracking_Hash__c fields directly on the record that triggered the automation. To support high-volume data operations efficiently, the solution must minimize transaction overhead and avoid issuing unnecessary DML operations or extra database save cycles. Which flow trigger configuration should the administrator select?
- A Record-Triggered Flow optimized for Fast Field Updates (Before-Save) that updates the triggering $Record fields directly without an Update Records elementAnswer
- BA Record-Triggered Flow optimized for Actions and Related Records (After-Save) using an Update Records element targeted at the triggering record
- CAn Autolaunchable Flow invoked by a legacy Process Builder process upon record save to execute an immediate field update
- DA Schedule-Triggered Flow running hourly to query modified Shipment_Manifest__c records and update field values in batch loops
Answer
A Record-Triggered Flow optimized for Fast Field Updates (Before-Save) that modifies the triggering record directly in memory without an Update Records element.
A Record-Triggered Flow configured for Fast Field Updates (Before-Save) modifies field values on the triggering record while it is in memory, right before the database commit. Because values are assigned directly to the $Record global variable, no Update Records element is needed, which avoids extra DML statements and minimizes system performance overhead during bulk imports.
Step-by-Step Solution
Key Concept
Fast Field Updates (Before-Save) vs. Actions and Related Records (After-Save) Flow Triggers
Estimated Time:2m 0s