File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
Core ServiceNow APIs/GlideAggregate/Count open Incidents per Priority and State using GlideAggregate Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ # Count open Incidents per Priority and State using GlideAggregate
2+
3+ ## Overview
4+ This script will dynamically calculate the ** number of open incidents** for each priority level and also give you a total for what
5+ current state the Incident is in using ** server-side scripting**
6+ Priority levels typically include:
7+ + 1 – Critical
8+ + 2 – High
9+ + 3 – Moderate
10+ + 4 – Low
11+
12+ Incident State typically include:
13+ + New
14+ + In Progress
15+ + On Hold
16+ + Resolved
17+ + Closed
18+ + Canceled
19+
20+ The scripting solution leverages ** GlideAggregate** to efficiently count records grouped by priority and state. This scripts approach
21+ is useful for:
22+ + Dashboards
23+ + Business Rules
24+ + SLA monitoring and reporting
25+
26+ --
27+ ## Table and Fields
28+ + ** Table:** Task
29+ + ** Fields:** Priority, State
You can’t perform that action at this time.
0 commit comments