Skip to content

Commit cff1583

Browse files
Update SLA Compliance Ratio by Assignment Group
1 parent 653b1a3 commit cff1583

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

Core ServiceNow APIs/GlideAggregate/SLA Compliance Ratio by Assignment Group

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,27 @@ Glide Aggregate Script-
1818
}
1919
})();
2020

21+
22+
Readme:
23+
24+
This script calculates the SLA breach percentage for each assignment group based on closed incidents in ServiceNow.
25+
It leverages GlideAggregate to count both total SLAs and breached SLAs efficiently, providing key SLA performance insights.
26+
27+
Useful for:
28+
• SLA dashboards
29+
• Support performance tracking
30+
• Service improvement reports
31+
32+
Objective
33+
34+
To determine, for each assignment group:
35+
• How many SLAs were closed
36+
• How many of those breached
37+
• The resulting SLA compliance percentage
38+
39+
Script Logic
40+
1. Query the task_sla table.
41+
2. Filter for closed SLAs linked to incidents.
42+
3. Aggregate total SLAs (COUNT) and breached SLAs (COUNT, 'breach', 'true').
43+
4. Group results by assignment group.
44+
5. Calculate breach percentage.

0 commit comments

Comments
 (0)