+ Start a Discussion
Valeria JacksonValeria Jackson 

E-mail Alerts Workflow from Task Object

Is there a way to setup email alerts when a field in Tasks change? I dont have the set E-mail Alert option when I try to add a workflow step for the TASKS object

SFDC support person directed me to developers as the only workaround is to use apex trigger which deals with constructing codes to make it work.

Can anyone help me?
Balaji BondarBalaji Bondar
Hi Valeria,
You can write a workflow on Task object with below condition.Add the fields for which you want email to be triggered:
OR(ISCHANGED() ,ISCHANGED() ,ISCHANGED() ,...)
Important :
If this is what you were looking for then please mark it as a "SOLUTION" or You can Click on the "Like" Button if this was beneficial for you.
Anoop AsokAnoop Asok
Below are the Workflow Rule Limitations as per Salesforce documentation (https://help.salesforce.com/HTViewHelpDoc?id=workflow_rules_considerations.htm&language=en_US):
  • You can't create email alerts for workflow rules on activities. (This is what you're facing)
  • You can't package workflow rules with time triggers.
  • You can't create outbound messages for workflow rules on junction objects.
The workaround will be to have a trigger on your task object, as the SFDC Support suggested. Below are the steps you need to do.
  • Iterate through new records in your update trigger (assuming no emails for insert op)
    • If the field value on new record doesn't match the old record 
      • Send an email using the Apex Messaging class
That said, you should keep an eye open for the Email Limits, more here (https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_gov_limits.htm#email_limits_section).

Thanks,
Anoop