function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sam_Adminsam_Admin 

Lead cannot be converted if owner is Queue

I have validation rule where lead cannot be converted if owner is Queue, i tried different sets of validation rules but none of them works

1) AND( IsConverted = TRUE, Owner:Queue.Id = '00G400000015Xyi' )

2) AND( IsConverted = TRUE, ISBLANK(Owner:Queue.Id) )

3) AND(
IsConverted = TRUE,
(CONTAINS(OwnerId,"00G"))
)
rohitsfdcrohitsfdc
Hello Sam,
When a lead which is owned by Queue is being converted, its owner gets changed automatically to the person who is converting the lead. Reason being, this same owner will be owner of converted lead's account and opp. and queue can not be owner of accounts

Before Update trigger can help you to achieve that.