Valid PDI Dumps shared by ExamDiscuss.com for Helping Passing PDI Exam! ExamDiscuss.com now offer the newest PDI exam dumps, the ExamDiscuss.com PDI exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com PDI dumps with Test Engine here:
A developer is asked to prevent anyone other than a user with Sales Manager profile from changing the Opportunity Status to Closed Lost if the lost reason is blank. Which automation allows the developer to satisfy this requirement in the most efficient manner?
Correct Answer: B
* Why Validation Rule? * Validation rules are efficient for enforcing field-level conditions without requiring Apex or Flow. * A formula can check if the user's profile is not "Sales Manager" and if theLost Reasonfield is blank whenStatusis set to "Closed Lost". * Why Not Other Options? * A: Triggers are more complex and unnecessary for this simple validation. * C: Record-triggered flows are less efficient for field validations compared to validation rules. * D: Approval processes do not handle this type of field-level restriction. References:Validation Rule Documentation:https://help.salesforce.com/s/articleView?id=sf.fields_about_field_validation.htm