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 elementCevap
- 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
Cevap
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.
Adım Adım Çözüm
Anahtar Kavram
Fast Field Updates (Before-Save) vs. Actions and Related Records (After-Save) Flow Triggers
Tahmini Süre:2m 0s