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

email alert when a filed is updated

Hi community,



          I wanna send an email when a field is upadated on a single sobject how can i achieve this........


        pls guide me to the right way to achieve this.....


Note:: Field Updation must be define by us only in the sense  when field is updated an email must delivers to a particular user





You can get this in place either through a trigger or by a workflow rule



  As harsha said you can use both for your requirement. Going with wokflow rule is the simplest way to avoid test class. :) If you need help in workflow rule for this req you are welcome to post your doubts.




we can achieve ths by Workflow and for this  lets assume custom field is X__c


1. Create a Workflow

2. Evaluation Criteria "created, and any time it’s edited to subsequently meet criteria"

3. Rule Criteria :     AND(NOT(ISNew()), ISCHANGED(X__c))

4. Create a Task email alert and for this you need to setup an email template also.


Subhani PSubhani P

Hi ,


The following link helps you to get more understand about workflow rules in Salesforce.



Thanks & Regards,