Skip to content

Commit 9277121

Browse files
Created readme.md
1 parent 85317b1 commit 9277121

File tree

1 file changed

+23
-0
lines changed
  • Core ServiceNow APIs/GlideAggregate/SLA Compliance Ratio by Assignment Group

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Overview
2+
3+
This script calculates the SLA breach percentage for each assignment group based on closed incidents in ServiceNow.
4+
It leverages GlideAggregate to count both total SLAs and breached SLAs efficiently, providing key SLA performance insights.
5+
6+
Useful for:
7+
• SLA dashboards
8+
• Support performance tracking
9+
• Service improvement reports
10+
11+
Objective
12+
13+
To determine, for each assignment group:
14+
• How many SLAs were closed
15+
• How many of those breached
16+
• The resulting SLA compliance percentage
17+
18+
Script Logic
19+
1. Query the task_sla table.
20+
2. Filter for closed SLAs linked to incidents.
21+
3. Aggregate total SLAs (COUNT) and breached SLAs (COUNT, 'breach', 'true').
22+
4. Group results by assignment group.
23+
5. Calculate breach percentage.

0 commit comments

Comments
 (0)