Commit 3acdabb
authored
Count Inactive Users with Active incidents (ServiceNowDevProgram#2616)
* script.js
Automatically create a problem record from incident volume
Use case: Automatically create a problem record if a specific Configuration Item (CI) is associated with more than a certain number of incidents within a defined timeframe.
Code snippet
This code can be placed in a Scheduled Script Execution or an After Insert Business Rule to check new incidents
* README.md
* Script.js
Identify the oldest active incident for each assignment group. This helps managers focus on long-running tickets that may require special attention.
* README.md
* script.js
This example searches a JSON document for all developers listed under the specified path.
* README.md
* Update README.md
* script.js
Identify inactive users who still have unresolved incidents. This helps with offboarding processes and ensures incidents aren't left unattended.
* README.md
* Update script.js
* Delete Core ServiceNow APIs/GlideAggregate/Count Inactive Users with Active incidents/README.md
* Delete Core ServiceNow APIs/GlideAggregate/Count Inactive Users with Active incidents/script.js
* Delete Core ServiceNow APIs/GlideAggregate/Find oldest Incident based Assignment Groups/README.md
* Delete Core ServiceNow APIs/GlideAggregate/Find oldest Incident based Assignment Groups/script.js
* Delete Core ServiceNow APIs/GlideJsonPath/GlideJsonPath Reader Example/README.md
* Delete Core ServiceNow APIs/GlideJsonPath/GlideJsonPath Reader Example/script.js
* script.js
Count Inactive Users with Active incidents
* README.md
* Delete Client-Side Components/Client Scripts/Count Inactive Users with Active incidents/README.md
* Delete Client-Side Components/Client Scripts/Count Inactive Users with Active incidents/script.js
* README.md
* script.js
* README.md
* Create script.js
* Delete Server-Side Components/Server Side/Count Inactive Users with Active incidents directory
* Delete Core ServiceNow APIs/GlideAggregate/Create Problem based on incident volume/README.md
* Delete Core ServiceNow APIs/GlideAggregate/Create Problem based on incident volume/script.js1 parent ab27c84 commit 3acdabb
2 files changed
+70
-0
lines changedLines changed: 38 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
Lines changed: 32 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
0 commit comments