The SLA percentage timer activity will not pause if started before an upgrade to London and if paused after the upgrade. This will cause notifications to be sent out even though the SLA is paused.
Steps to Reproduce
1 - In a Kingston or earlier instance create an SLA definition as follows:
- Name: SLA pause issue
- Short description: blank
- Table: incident
- Start condition: active is true
- Pause condition: short description contains "pause"
- Duration: 10 days
- Schedule source: no schedule
2 - Create a new incident so that the SLA set in step 1 gets attached.
3 - Check the sys_trigger table and verify the WFTimer record has been created for the 50% notification.
4 - Upgrade the instance to London.
5 - Open the incident created in step 2.
6 - Change the short description to contain "pause".
7 - Check the sys_trigger table and verify the WFTimer record still exists. It should have been deleted.
8 - Find in the instance logs the following message:
Default-thread-3 6D44E321E50023004E829313F5A4D4A4 txid=c16140f1e580 *** Script: WARNING, trigger record not found for: undefined
This issue is due to a change in naming of the WFTimer records. The workaround until the fix will become available consists in editing the Workflow Activity - Timer definition as follows:
1) Change the onPause() method definition to:
2) Change the onCancel() function definition to:
Related Problem: PRB1300163