Skip to content

Commit 5cd1fb0

Browse files
authored
Create README.md
1 parent a0769da commit 5cd1fb0

File tree

1 file changed

+29
-0
lines changed
  • Core ServiceNow APIs/GlideAggregate/Count open Incidents per Priority and State using GlideAggregate

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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

0 commit comments

Comments
 (0)