Ask Search:
Adam BlakeAdam Blake 

Can a completion of a task trigger a workflow action?

Can a completion of a task trigger a workflow action? If yes, how do I do this?

I have workflow currently set up so once certain things happen (rule criteria) a task is created (workflow action). However, I want to be able to create new rules once those tasks are completed. Can someone help?
John KokkelmansJohn Kokkelmans
 Sure,

Create a workflow rule on object Task, set the criteria to "When a record is created, or when a record is edited and did not previously meet the rule criteria" and add Status equals Completed. Link your workflow action (email, task, field update, outbound message) to this rule
Matthew LambMatthew Lamb
One thing to be aware of Jordon, Email Alerts cannot be generated as a result of workflows built on a Task. See this thread for more info and some links to Ideas for fixing this: http://success.salesforce.com/questionDetail?qId=a1X30000000HYfcEAG
Adam BlakeAdam Blake
 John-

Thanks for the response. If I do that how do i get the workflow action to do a field update in the project object? It appears I can only cause a workflow action relating to the task object.

Also, is there a way to tie the workflow rule to the completion of a specific task? Our workflow has multiple tasks involved. Ie. complete task a, update field xzy, assign task b & c, complete task b&c, update xyz fields, and assign new tasks.