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
VANAPARTHI SRIKANTHVANAPARTHI SRIKANTH 

email to the user when field value is updated or changed

Hi all,

how can i get a email if an field value is changed or updated. the field may be pick list value.

can any one help please
Vivek DeshmaneVivek Deshmane
Hi VANAPARTHI SRIKANTH,

a. You can use salesforce workflow to send an email alert.(Configuration approach)

1.Create workflow with Evaluate the rule when a record  whne "created, and every time it’s edited(check this)"
2.Rule Criteria=Formula evaluates to true
3. Use function as ISCHANGED(picklist field name)
https://help.salesforce.com/apex/HTViewHelpDoc?id=creating_workflow_alerts.htm
http://blog.ebsta.com/salesforce-administrator/salesforce-workflow-example/

b.You can use Procees builder to send an email(Configuration approach)

1. Refer following link for more details 
https://help.salesforce.com/HTViewHelpDoc?id=process_overview.htm

c.You can use apex code to send  an email message 

 1. You can call send email code from trigger when value get changed.
 2. Refer following link for apex code to send email
  https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_email_custom_controller.htm

Please let me know if this helps you.

Best Regards,
-Vivek