Salesforce Certified Platform Developer II — Question 2
A company has a custom object, Sales Demo Request, that has a lookup to an Opportunity. It is required that a Sales Demo Request record be created when an
Opportunity's Probability is greater than 50%.
What is the optimal way to automate this?
Answer options
- A. Use an Apex Trigger on Opportunity.
- B. Build a Flow on Opportunity.
- C. Create a Workflow on Opportunity.
- D. Build a Process on Opportunity.
Correct answer: B
Explanation
The correct answer is B, as a Flow provides a user-friendly interface for automating processes and can easily handle the conditions required for creating a Sales Demo Request when the Probability is above 50%. An Apex Trigger (A) would be more complex and not necessary for this scenario. A Workflow (C) has limitations in functionality compared to Flow, and a Process (D) is less optimal for this specific requirement.