If the Run SLAs business rule has the property "com.snc.sla.engine.async" set to false (the default) the "Send when record is inserted or updated" notification triggering is not happening. In order for it to work, you have to set the "com.snc.sla.engine.async" property to true.
Steps to Reproduce
- Disable all notifications on Incident except for one.
- Use one of the incidents commented and set that notifications conditions to be active=true.
This should fire on every update of an incident that is active.
- Add a business rule to task_sla that on insert/or update runs the following code: current.task.getRefRecord().setWorkflow(false);
- Update the incident so that a task_sla record will be created via the Run SLAs business rule.
Notice that the email does not get created for your notification which should create an email on every update.
Set the Run the 2011 SLA engine asynchronously after task insert or update operations (com.snc.sla.engine.async) property to true.
Related Problem: PRB587829