You need to sign in to do that
Don't have an account?
Pavan777
Lead assignment email notification
Hello everyone,
I am facing a weird problem when updating lead owner based on some
criteria in my trigger.I am getting two emails, one the default one from
salesforce(out of box email functionality) and the other is a custom
email triggered from my trigger. Is there any way we could restrict the
salesforce default email or can we update the template that's being used
for this out of box functionality?
(We don't have any auto response / assignment rules defined in the org)
Thanks in advance.
Pavan.
Hi,
It's quite difficult to know what to suggest without any knowledge of your trigger and/or org. setup but a guess from my end could be that you have defaulted the "notify owner" checkbox on leads so that owners are default notified when a lead is assigned to them.
If I remember correctly you change this in Layout Properties on your lead page layouts.
I have no idea if that's it or not but if not please supply your trigger code in your reply.
Hope this helps.
/Søren Nødskov Hansen
Thanks Hansen for the quick response.
"Notify Default Lead Owner " checkbox in our org was already unchecked but still we've this issue. I've before update trigger on lead and was trying to update lead owner based on some conditions. Below is the trigger code, Lead assignment to new owner is working fine but having problems with email notification i.e. two emails being send to lead owner one through out of box functionality and other through my custom code.
Hi Pavan777,
Is it me or is something of the trigger missing? I never see the you use emailList - where exactly do you send your custom email?
Another thing I wanted to ask was if you are assigning the leads to an acutal User of a queue?
If you are assigning them to queues maybe you have defined some sort notification email for those queues which spawn the "out of the box" email.
/Søren Nødskov Hansen
Hansen,
Just to clarify we don't have any queues defined in the org and i am just assigning lead to one of the users with in the org.
I've not included the code for email in my earlier post as it is pretty straight forward...
Thanks,
Pavan.
Is it possibly another WF rule created? what do the templates look like?