Salesforce Certified Platform App Builder — Question 370
Universal Containers manages leads in a Lead qualification queue where sales reps can accept ownership of the Lead. Campaign members are required to have a sales owner.
What validation rule should an app builder configure?
Answer options
- A. NOT(ISNEW() && ISBLANK(Lead.Owner:Queue.Id))
- B. NOT( ISBLANK(Lead.Owner:Queue.Id))
- C. AND( ISBLANK(Lead.Owner.Id) )
- D. AND(ISNEW(), ISBLANK(Lead.Owner:User.Id))
Correct answer: B
Explanation
The correct answer, B, ensures that a Lead cannot be saved without an assigned owner in the queue, aligning with the requirement for campaign members. Option A incorrectly checks for new records, and C and D do not validate ownership in the context of the queue, making them invalid for this scenario.