A business process requires that whenever an Order record's Status is changed to 'Activated', the system must automatically create a new Shipment record linked to that Order and send an email notification to the warehouse supervisor. Which flow type and trigger configuration should the administrator select to fulfill these requirements?
- ARecord-Triggered Flow configured for Fast Field Updates (before the record is saved)
- Record-Triggered Flow configured for Actions and Related Records (after the record is saved)Answer
- CSchedule-Triggered Flow configured to run hourly to check for activated orders
- DAutolaunched Flow with no trigger invoked directly by database commit events
Answer
Record-Triggered Flow configured for Actions and Related Records (after the record is saved)
A Record-Triggered Flow configured for Actions and Related Records executes after the triggering record has been written to the database. This after-save context provides access to the record ID and supports creating related records (such as Shipment records) and executing external actions (such as sending email alerts).
Step-by-Step Solution
Key Concept
Selecting between Fast Field Updates (before-save) and Actions and Related Records (after-save) in Record-Triggered Flows