File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Core ServiceNow APIs/GlideAggregate/SLA Compliance Ratio by Assignment Group Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 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.
You can’t perform that action at this time.
0 commit comments