Question

Difficulty: MediumAutomation Tool Selection

An educational academy tracks student certifications using a custom object called Candidate Assessment, which is related to the standard Contact object via a lookup relationship. When a Candidate Assessment record is updated, the administration team needs to satisfy two business requirements:

1. Calculate and populate an internal rating score on the triggering Candidate Assessment record before it is committed to the database to maximize transaction speed and avoid recursion.
2. Update a summary metric on the parent Contact record representing the total count of passed Candidate Assessments linked to that student.

Which two automation tools or configurations should the administrator select to fulfill these requirements? (Choose two.)

  1. A Record-Triggered Flow configured for Fast Field Updates (before-save) on the Candidate Assessment object to set the internal rating score.Answer
  2. A Record-Triggered Flow configured for Actions and Related Records (after-save) to query related Candidate Assessments and update the parent Contact record.Answer
  3. C
    A Record-Triggered Flow configured for Actions and Related Records (after-save) on the Candidate Assessment object to update the internal rating score on the triggering record.
  4. D
    A standard Roll-Up Summary field created on the Contact object that counts related Candidate Assessment records.

Answer

Select a Record-Triggered Flow configured for Fast Field Updates (before-save) to update the triggering record, and a Record-Triggered Flow configured for Actions and Related Records (after-save) to aggregate and update the parent Contact record.
Configuring a Record-Triggered Flow with Fast Field Updates directly satisfies the requirement for high-performance, same-record field modifications before committing to the database. Additionally, configuring an Actions and Related Records flow provides the necessary capability to query and update the parent Contact record across a Lookup relationship where standard roll-up summaries are unsupported.

Step-by-Step Solution

1
Analyze Requirement 1 regarding same-record field updates prior to database commit.
Identify that updating fields on the triggering record before save is best handled by a Record-Triggered Flow configured for Fast Field Updates (before-save).
Before-save flows update fields on the triggering record significantly faster than after-save automations without triggering a recursive save cycle or consuming DML operations.
2
Analyze Requirement 2 regarding updating parent record metrics across a lookup relationship.
Determine that Roll-Up Summary fields cannot be used over lookup relationships, requiring an automation tool that can perform DML on related parent records.
Because Candidate Assessment and Contact are linked via a Lookup relationship rather than a Master-Detail relationship, a declarative Record-Triggered Flow (Actions and Related Records) is required to calculate and update the parent Contact.

Key Concept

Flow Trigger Timing and Relationship Constraints in Automation Tool Selection
Rate this question