An administrator for a luxury hotel chain is building an automated solution for a custom object named Hotel_Reservation__c. The business process requires:
1. Automatically calculating and updating a discounted room rate field on the triggering reservation record before the record is committed to the database upon creation or update.
2. Automatically evaluating all reservation records on a weekly recurring schedule every Monday at 2:00 AM to identify check-outs from the prior week and create follow-up survey records for related contacts.
Which two flow types and trigger configurations should the administrator select to fulfill these requirements? (Choose two.)
- A Record-Triggered Flow configured for Fast Field Updates (before-save) on the Hotel_Reservation__c object to update the room rate field.Answer
- A Schedule-Triggered Flow configured to run weekly on a specified date and time to process qualifying Hotel_Reservation__c records in batches.Answer
- CA Record-Triggered Flow configured for Actions and Related Records (after-save) on Hotel_Reservation__c to set the room rate field on the triggering record.
- DAn Autolaunched Flow containing Get Records and Create Records data elements placed inside a Loop element to iterate across weekly reservation records.
Answer
A Record-Triggered Flow configured for Fast Field Updates (before-save) on the Hotel_Reservation__c object and a Schedule-Triggered Flow configured to run weekly on a specified date and time.
The solution requires two distinct trigger types: (1) A Record-Triggered Flow configured for 'Fast Field Updates' (before-save) handles same-record field calculations before the data is committed to the database, ensuring maximum performance. (2) A 'Schedule-Triggered Flow' runs automatically on a predefined weekly schedule (e.g., Monday at 2:00 AM) to query past reservations and create related survey records without requiring code.
Step-by-Step Solution
Key Concept
Flow Trigger Types: Fast Field Updates vs. Actions and Related Records, and Schedule-Triggered automation.