You need to sign in to do that
Don't have an account?

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
Thanks&Regards
You can get this in place either through a trigger or by a workflow rule
Hi,
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.
http://login.salesforce.com/help/doc/en/creating_workflow_alerts.htm
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.
Hi ,
The following link helps you to get more understand about workflow rules in Salesforce.
http://login.salesforce.com/help/doc/en/workflow_examples.htm
Thanks & Regards,
Subhani,
DBSync,
www.mydbsync.com