Incident SLA's not completing all the time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2020 07:39 AM
I am having a problem where some Incidents that are closed by the system are not completing their SLA records correctly. Not all of them, but some. When I manually close the Incident, then it completes the SLA record correctly, every time.
I run an audit report every week to find and fix them. I fix them by running an SLA repair on them and it works every time.
Here are the conditions of my audit report:
'Stage' = "In Progress" and 'Task.Incident.Incident State" is "Resolved, Closed"
OR
'Stage' = "Paused" and 'Task.Incident.Incident State" is "Closed"
95% of the tickets fall into the first condition: 'Stage' = "Paused" and 'Task.Incident.Incident State" is "Closed"
5% of them fall into the 2nd condition: 'Stage' = "In Progress" and 'Task.Incident.Incident State" is "Resolved, Closed"
Here is what my SLA definition is doing:
Name: Enterprise Standard Resolution SLA P1
Table: incident
Target: Resolution
Duration: 4 Hours
Relative duration works on: Task record
Schedule source: No schedule
Start condition:
Priority = 1 - Critical
Retroactive start: true
Retroactive pause: true
Set start to: opened_at
When to cancel: Cancel conditions are met
Cancel condition:
Incident state = Canceled .or. Priority != 1 - Critical
Pause condition
Incident state = On Hold .and. On hold reason in (Awaiting Caller, Awaiting Change, Awaiting External Vendor) .and. or Incident state = Resolved
When to resume: Pause conditions are not met
Stop condition:
Incident state = Closed .and. Priority != 5 - Planning
Reset condition
Priority != 1 - Critical
Reset action: Cancel existing Task SLA
The fact that it is ONLY when the system closes the ticket (never when the ticket is closed manually) and that doing an SLA repair fixes it, tells me my code is good, but something else that only happens when the system closes the Incident is affecting the Stop condition.
Currently in Orlando version, but I think it started before we went to Orlando.
Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2020 10:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2020 01:20 PM
It's a custom script
It does not use setWorkflow(false). But it does use setUseEngines(false) so it can close tickets and ignore data policies that prevented out of the box auto-closure from closing the ticket.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2020 01:46 PM
Hi, the vendor doc’s seem a bit vague regarding setUseEngines() impact on the SLA 'engine'
but as it is an engine I suspect it would also be impacted\disabled - at least this would be logical.
Perhaps another forum member can point us in direction of clear and specific vendor documentation, as I could find nothing that clearly confirms that this method applies to all engines IE SLA Engine.
You could log a case in HI requesting clarification.
Or prove this is the issue by testing in sub-production with setUseEngines(true)
or commented out in your script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2020 01:59 PM
thanks Tony.