You need to sign in to do that
Don't have an account?
Monica Flaherty
Trigger On Task
Is it possible to use a trigger on a task to send an email notification to the task creator when the status changes to Completed? I'm very frustrated that this is not possible using a workflow rule, but am holding out hope that we can accomplish with a trigger.
Yes, you can do that via a task-trigger. Below is the code. You can also do whole bunch of cool stuff like sending emails to whoever created the task, or to a group, adding details of the task in the email body etc. etc.
Hi Sauradh,
Thanks for this piece of code, I was looking for this as well.
But where in your code does it say that the trigger has to be executed as soon as the task status is set to completed?