Why is my Task workflow rule not firing when created by another workflow?
|Knowledge Article Number||000233684|
You may notice that task workflows are not firing when the task is created by another workflow rule, as in the scenario below. This is expected behavior.
In this example, if you meet the criteria of the first workflow rule, a new task will be created, but the Task workflow will not fire. Individually, the workflows will fire (manual creation of a Task will fire the task workflow; update of account will create a task), but they will not work together as Task workflow rules do not run when created by another workflow.
|Resolution||If this is critical to your business needs, the field update can be done via a before insert trigger on the Task object. This is because even though workflow rules will not run, apex code will. The trigger would check the value of the subject field, and then if it is equal to "Test Task" it would set the Type to "Call."|