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
Chidanand MChidanand M 

Check 'Send Email Notification' checkbox on Lead Object

Hi friends,

I wanna make the checkbox 'Send email notification ' on Lead object to be checked on change of Lead Owner.
Has anyone come across this scenario?
If so plz guide me to achieve the same.

It can be done with a simple trigger:
trigger LeadOwnerChange on Lead(after update) {
List<Lead>listLeads = new List<Lead>();
for(Lead a:
LeadOwnerField aOld= Trigger.old.get(a.Id);
LeadOwnedField a =;
if(aOlde != a){
a.yoursendemailcheckbox = True;

Maybe it is not entirely correct, but should give you an idea how to get started and proceed.
Amit  TrivediAmit Trivedi

You can use workfow rule to update field having criteria as
update Send_email_notification__c = true