Question

Difficulty: MediumFlow Types and Triggers

The operations department at an equipment rental company uses a custom object named Equipment_Inspection__c. The team requires two specific automated processes:

1. Immediately calculate and assign the Risk_Level__c field on the Equipment_Inspection__c record itself whenever it is created or updated, prior to the record being committed to the database.
2. Automatically evaluate all Equipment_Inspection__c records that failed inspection and create a related Maintenance_Task__c record for each one every night at 11:00 PM.

Which two flow types and trigger settings should be utilized to satisfy these requirements? (Choose two.)

  1. A Record-Triggered Flow on Equipment_Inspection__c set to Fast Field Updates (before-save) to calculate and assign the Risk Level field.Answer
  2. A Schedule-Triggered Flow scheduled to execute daily at 11:00 PM that queries failed inspections and creates related maintenance tasks.Answer
  3. C
    A Record-Triggered Flow on Equipment_Inspection__c set to Actions and Related Records (after-save) to calculate and assign the Risk Level field.
  4. D
    An Autolaunched Flow (no trigger) containing a Pause element configured to execute nightly at 11:00 PM across all failed inspection records.

Answer

The two required configurations are a Record-Triggered Flow on Equipment_Inspection__c configured for Fast Field Updates (before-save) to update the Risk Level field, and a Schedule-Triggered Flow configured to run daily at 11:00 PM to process failed inspections and generate maintenance tasks.
For requirement 1, updating a field on the triggering record before database commit is the primary use case for Fast Field Updates (before-save record-triggered flow). For requirement 2, running batch creation of related records at a specific scheduled time (11:00 PM nightly) is the standard function of a Schedule-Triggered Flow.

Step-by-Step Solution

1
Analyze requirement 1 regarding same-record field updates prior to database commit.
Identify that updates to the triggering record prior to database save must use a Record-Triggered Flow configured for Fast Field Updates (before-save).
Fast Field Updates run prior to database commit and update the triggering record up to 10 times faster than after-save updates without triggering recursive save cycles.
2
Analyze requirement 2 regarding recurring, time-based batch record processing and related record creation.
Identify that scheduled batch operations occurring nightly at 11:00 PM require a Schedule-Triggered Flow.
Schedule-Triggered Flows automatically query specified object records and execute defined actions, such as creating child or related records, on a scheduled frequency.
3
Evaluate and discard sub-optimal or invalid flow configurations.
Discard after-save record-triggered flow for same-record updates and non-triggered autolaunched flows for scheduled automation.
Actions and Related Records add unnecessary DML overhead for same-record updates, while autolaunched flows lack automated scheduled entry criteria.

Key Concept

Selecting optimal Flow trigger types based on execution timing (before-save vs after-save vs scheduled execution)
Estimated Time:1m 15s
Rate this question