A system administrator is designing an automation strategy for a custom object named Warehouse_Transfer__c. The business requires two specific automation behaviors:
1. Automatically calculate and update the Total_Weight_KG__c field on the Warehouse_Transfer__c record itself immediately before the record is saved to the database.
2. Execute an outbound HTTP callout to an external logistics provider's API whenever a transfer record is confirmed.
Which TWO flow trigger configurations should the administrator implement to meet these requirements efficiently? (Choose two.)
- A Record-Triggered Flow optimized for Fast Field Updates (Before-Save) to populate the weight field on the triggering record.Answer
- A Record-Triggered Flow configured for Actions and Related Records (After-Save) with an Asynchronous Path to perform the external API callout.Answer
- CA Record-Triggered Flow configured for Actions and Related Records (After-Save) to update the Total_Weight_KG__c field on the triggering record.
- DA Schedule-Triggered Flow configured to run every minute to query newly created transfer records and execute the external API callout.
Answer
The administrator should use a Record-Triggered Flow optimized for Fast Field Updates (Before-Save) to calculate the weight field on the triggering record, and a Record-Triggered Flow configured for Actions and Related Records (After-Save) with an Asynchronous Path to handle the HTTP callout.
Updating fields on the triggering record before it is written to the database is best achieved using a Fast Field Updates (before-save) flow, as it modifies values in memory before the initial insert/update. Outbound integration callouts require an asynchronous context after the record transaction is committed, which is provided by an Asynchronous Path on an Actions and Related Records (after-save) flow.
Step-by-Step Solution
Key Concept
Flow Trigger Types and Execution Timing (Before-Save vs. After-Save Async Callouts)