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
David SomekhDavid Somekh 

Sending Email alert when fields update

I have field that is lookup field to contact.

 

I want to send Email alert to the contact that in this field when this field is update and the contact is changed.

 

Hope somebody knows some formula that checks if the values in the field was changed in order to use it as a trigger?  

 

Thank you

Best Answer chosen by Admin (Salesforce Developers) 
Saravanan @CreationSaravanan @Creation

Hi

 

for your reqquiement the best solution is the workflow .And when creating the workflow rule you need to enter the critria as that lookup field is not equals null

 

and also choose the option every time the record is created and edited and didnot meet the privious critria.

then you can able to add email step

 

 

 

All Answers

Jia HuJia Hu

formula for checking the change of the field is : ISCHANGED( field_api_name )

 

I guess the trigger will automatically get the change of the object without any formula.

 

In your case, you can consider use some workflow for sending email to the contact after the update.

 

 

Saravanan @CreationSaravanan @Creation

Hi

 

for your reqquiement the best solution is the workflow .And when creating the workflow rule you need to enter the critria as that lookup field is not equals null

 

and also choose the option every time the record is created and edited and didnot meet the privious critria.

then you can able to add email step

 

 

 

This was selected as the best answer