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
John SmithJohn Smith 

How to notify previous and new owner through email in ownership change process?

Hello,

I'm trying to change the ownership. I want the notification email of ownership change to both previous owner and new oner of the record. But salesforce provides email notification to only new owner, not the previous owner. Here in my case, a third person in higher role in role hierarchy may change the ownership. Could you please guide me in this issue, how should i proceed?

Ispita_NavatarIspita_Navatar

Hi John,

I will suggest you a workaround. You can have a field of the type "email" and as the owner of the record changes you can store the former owner's email address in the new field thus created using either a workflow or a trigger.

Also you can trigger the email to the former owner whose email is stored in the record using a workflow.

 

 

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.