Commit 9021722
authored
Update Incident_analysis_Resolution_Calculation_GlideAggregate.js (#1624)
Fix GlideAggregate query and data retrieval for incident statistics
- Updated the method to retrieve the 'assigned_to' field using getDisplayValue() instead of get().
- Corrected aggregate data retrieval by using getAggregate() for 'COUNT' and 'AVG' operations.
- Ensured proper calculation and output of open incidents count and average time to close.1 parent 1a42357 commit 9021722
File tree
1 file changed
+3
-3
lines changed- GlideAggregate/Incident Analysis and Resolution Calculation using Glideaggregate
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
0 commit comments