Exam CRT-450 Topic 2 Question 17 Discussion
Actual exam question for Salesforce's CRT-450 exam
Question #: 17
Topic #: 2
Question #: 17
Topic #: 2
A company decides to implement a new process where every time an Opportunity is created, a follow up Task should be created and assigned to the Opportunity Owner.
What is the most efficient way for a developer to implement this?
What is the most efficient way for a developer to implement this?
Suggested Answer: B Vote an answer
To implement a process where every time an Opportunity is created, a follow-up Task should be created and assigned to the Opportunity Owner, the most efficient method is to use a Record-Triggered Flow on the Opportunity object.
Option B: Record-triggered flow on Opportunity
Declarative Solution: Salesforce Flows provide a powerful, declarative way to automate business processes without writing code.
Triggering Event: The flow is configured to trigger when a new Opportunity record is created.
Create Task Record: The flow includes an element to create a new Task record.
Set the Assigned To field to the Opportunity Owner.
Populate other Task fields as necessary (e.g., Subject, Due Date).
Efficiency: Flows are more efficient than Apex triggers for simple automation and are easier to maintain.
Best Practice: Salesforce recommends using Flows over Workflow Rules and Process Builders for new automations.
Reference:
Record-Triggered Flows
Flow Builder
Why Other Options are Less Efficient or Incorrect:
Option A: Apex trigger on Task
Incorrect Object: An Apex trigger on Task does not fulfill the requirement, as the trigger needs to be on Opportunity creation.
Code Maintenance: Requires writing and maintaining Apex code, which is less efficient for this use case.
Option C: Auto-launched flow on Task
Incorrect Trigger: Auto-launched flows do not automatically trigger on record creation unless explicitly invoked.
Does Not Meet Requirement: Does not trigger upon Opportunity creation to create a Task.
Option D: Task actions
Ambiguous Term: "Task actions" is not a specific Salesforce feature.
Possible Misinterpretation: Could refer to Workflow Actions, which are being deprecated in favor of Flows.
Conclusion:
Using a Record-Triggered Flow on the Opportunity object is the most efficient and recommended approach.
It leverages Salesforce's declarative tools and aligns with best practices for automation.
Option B: Record-triggered flow on Opportunity
Declarative Solution: Salesforce Flows provide a powerful, declarative way to automate business processes without writing code.
Triggering Event: The flow is configured to trigger when a new Opportunity record is created.
Create Task Record: The flow includes an element to create a new Task record.
Set the Assigned To field to the Opportunity Owner.
Populate other Task fields as necessary (e.g., Subject, Due Date).
Efficiency: Flows are more efficient than Apex triggers for simple automation and are easier to maintain.
Best Practice: Salesforce recommends using Flows over Workflow Rules and Process Builders for new automations.
Reference:
Record-Triggered Flows
Flow Builder
Why Other Options are Less Efficient or Incorrect:
Option A: Apex trigger on Task
Incorrect Object: An Apex trigger on Task does not fulfill the requirement, as the trigger needs to be on Opportunity creation.
Code Maintenance: Requires writing and maintaining Apex code, which is less efficient for this use case.
Option C: Auto-launched flow on Task
Incorrect Trigger: Auto-launched flows do not automatically trigger on record creation unless explicitly invoked.
Does Not Meet Requirement: Does not trigger upon Opportunity creation to create a Task.
Option D: Task actions
Ambiguous Term: "Task actions" is not a specific Salesforce feature.
Possible Misinterpretation: Could refer to Workflow Actions, which are being deprecated in favor of Flows.
Conclusion:
Using a Record-Triggered Flow on the Opportunity object is the most efficient and recommended approach.
It leverages Salesforce's declarative tools and aligns with best practices for automation.
by Matthew at Jul 23, 2026, 02:17 AM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).