task_sla is not attaching on a task created from an Inbound Action


Description

When the user creates a task record via an inbound Action, the expected task_sla is not attaching. It only attaches after an update is made to the task record.

Cause

PRB1329356 ("SLAs do not attach automatically when a new task record is created from an inbound email action")

There is a setWorkflow(false); in a workflow or script running

Resolution

Check the workflow or scripts running and see if there are any "setWorkflow(false)"

This would kill every business rules running post engine (including the "after" SLA Business Rule "Run SLAs", which is responsible for evaluating SLA Definitions and attaching task_sla records).