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

Only allow the lead owner to convert the lead...

What is the best way to disallow conversion of a lead if the ID of the logged in user is not the owner of the lead?


As the subject says, I just want the owner to be able to do this.


I have complicated insert triggers because I have assignment rules based on recordtypes, and I have lots of workflow rules that are changing all the time, that I'd rather not interfere with, if possible.


Thanks in advance





Do you want this on convert button only or no other user edit on the lead except owner?




You got it-

Just on the convert button only-

it's not a big deal if other ppl can edit the leads.


Any ideas?





I believe you are going to have to create an override for the convert button in visual force.  And then have VF restrict the convert. 


We have people that can do that if you need help.