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
bharath kumar 52bharath kumar 52 

Email alerts when a record is updated

Hi All,

Following is my data model :

Event (Custom) ---> Child--->Grandchild

My requirement is to send an email alert to a user in a lookup of grandchild WHEN either a "Parent,Child or Grandchild is updated".
Any help on achieving this with a single trigger/workflow is greatly appreciated.(I believe we need to use more than one trigger /workflow for this)

Prakash NawalePrakash Nawale
Hi Bharath,

Your need two triggers and 2 workflows to send email alert. in signle workflow/trigge you can't achive this.
Hi Bharath,

One can use simple workflow actions for email alerts. No need for a trigger for this. And offcourse if your Parent, child or grand child are different objects, you will need to create seperate workflows for them.
Hope this helps.
Try Process Builder, it should solve your problem.
Akhil TandonAkhil Tandon
Functionality cannot be achieved using single workflow or trigger. Create workflow for grandchild and triggers for grandparent (Event) and child.