Courseiva
Automation →mediumMultiple Choice

SF-Admin Automation Practice Question

An administrator at Cloud Kicks has built a Record-Triggered Flow on Opportunity that fires when Stage changes to 'Closed Won'. The flow sends a notification email to the opportunity owner. Testing shows the email fires multiple times for a single stage change when the opportunity is updated by an integration user. The administrator wants to ensure the email is sent only once per opportunity close. What should the administrator do?

⚠ Common exam trap

The trap here is assuming that filtering by the running user or switching to asynchronous execution prevents duplicate flow executions, when the real fix is detecting the stage transition itself.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Add a condition to check that the prior value of Stage is not 'Closed Won' and the current value is 'Closed Won'.

The duplicate emails occur because the entry condition matches any update where Stage equals 'Closed Won', including updates that do not change Stage. Using PRIORVALUE() to detect the actual transition from a different stage into 'Closed Won' ensures the flow fires exactly once per close. This is the recommended pattern for one-time transition automation in Record-Triggered Flows.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Set the flow to run asynchronously so that it processes only the most recent update.

    Why it's wrong here

    Asynchronous execution changes when the flow runs but does not deduplicate events. Each qualifying update still enqueues its own flow interview, so multiple updates with Stage equal to 'Closed Won' would still send multiple emails. Asynchronous execution is useful for callouts and performance, not for preventing repeat notifications on the same condition.

  • ✗

    Configure the flow to run only when the record is updated by a specific user.

    Why it's wrong here

    Record-Triggered Flows cannot filter by the user who performed the DML operation. While you can reference $User in a formula, that reflects the running user's context, not the user who triggered the update, and integrations often run as an admin or automated user. This option would not reliably prevent duplicate emails and would also block legitimate user-driven closes.

  • ✓

    Add a condition to check that the prior value of Stage is not 'Closed Won' and the current value is 'Closed Won'.

    Why this is correct

    Using the PRIORVALUE() function in a formula entry condition ensures the flow only fires on the transition into 'Closed Won'. Subsequent updates where Stage remains 'Closed Won' will not satisfy the condition, preventing duplicate notifications regardless of who or what triggers the update. This is the standard pattern for one-time transition automation.

  • ✗

    Change the flow trigger to run only when a record is created and set the Stage to 'Closed Won' by default.

    Why it's wrong here

    Opportunities are typically created in earlier stages, so a create-only trigger would miss the actual close event. Defaulting Stage to 'Closed Won' at creation would break the sales process and still not address stage changes made later by users. This changes business behavior rather than solving the duplicate notification problem.

About these practice questions

Courseiva writes every SF-Admin question from scratch — 202 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Salesforce exam blueprint

This SF-Admin practice question is part of Courseiva's free Salesforce certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SF-Admin exam.