ADM-201 · Question #244
ADM-201 Question #244: Real Exam Question with Answer & Explanation
The correct answer is A: Create a validation rule to display an error if stage is closed lost and Loss Reason is blank.. A validation rule is the correct solution here because rich text area fields cannot be marked as universally required at the field level in Salesforce Object Manager (eliminating C), and the requirement is conditional - the Loss Reason should only be required when Stage is 'Close
Question
AW Computing needs to capture a loss reason in a rich text field when an opportunity is closed lost. How should an administrator configure this requirement?
Options
- ACreate a validation rule to display an error if stage is closed lost and Loss Reason is blank.
- BSelect the required checkbox next to the Loss Reason field on the page layout.
- CCheck the required checkbox on the Loss Reason field in Object Manager.
- DConfigure a workflow rule to display an error if Loss Reason is blank.
Explanation
A validation rule is the correct solution here because rich text area fields cannot be marked as universally required at the field level in Salesforce Object Manager (eliminating C), and the requirement is conditional - the Loss Reason should only be required when Stage is 'Closed Lost', not on every save. Marking it required on the page layout (B) enforces it on every save through the UI but can be bypassed via API and doesn't support conditional logic. Workflow rules (D) cannot display errors - only validation rules can. The validation rule formula checks: Stage = 'Closed Lost' AND ISBLANK(Loss_Reason__c), then shows an error message.
Topics
Community Discussion
No community discussion yet for this question.