Salesforce Platform Developer I (legacy) — Question 260
Universal Containers wants Opportunities to be locked from editing when reaching the Closed/Won stage.
Which two strategies should a developer use to accomplish this? (Choose two.)
Answer options
- A. Use a Visual Workflow.
- B. Use a validation rule.
- C. Use the Process Automation Settings.
- D. Use a Trigger.
Correct answer: B, D
Explanation
The correct answers are B and D. A validation rule can enforce criteria that prevent changes when the Opportunity is Closed/Won, while a Trigger can execute logic that restricts edits in this stage. Options A and C do not provide a direct mechanism to lock the record from editing when it reaches a specific stage.