RE: SLA timer is not stopping after case being cancelled
Hi Xavier,
I faced the similar issue and resolved it. The main culprit in our case is that there was an error in the SLA related background workflow and thus timer keeps on running. In the below attached screenshot you can see the SLA timer is still running to 137 days. The SLA failure criteria has already been met but still the timer keeps running.
Once a SLA timer starts running, a background workflow is automatically created by CRM. The workflow implements the similar logic which you have mentioned in the SLA (plz feel free to scrutinize more on this background workflow). You can navigate to background workflow by clicking the small dropdown near case and select Background processes.
If you see, the workflow status it is still waiting. The reason being in our SLA we have configured it in such a way that after warning condition is met send an email to one of the user record. While developing the SLA, that user record is active. After few days he left organization and thus the user record is no more available. So SLA related workflow tries to send an email to it but it obviously failed. As a result the workflow is not completely executed till the end and timer wont stop. For the timer to stop once SLA fails, the workflow has to execute completely without any error. Screenshot of the errored workflow is attached.
Since the workflow failed before executing completely SLA timer keeps running for ever. The only way to stop the timer is Deleting the record.
So i suggest you to take a look at your background workflow. I am 100% sure the workflow failed to execute completely. Try finding the reason why workflow is failing, fix that bug by editing your SLA and start creating new case records to see if new SLA was executing completely and halting the timer.