Commit 95b40d4
authored
Add script to get incident records older than 30 days
This script retrieves records from the 'incident' table that are older than 30 days based on the 'opened_at' field. It limits the output to 200 records and provides a count of the retrieved records.1 parent c96fc80 commit 95b40d4
File tree
1 file changed
+24
-0
lines changed- Core ServiceNow APIs/GlideRecord/Get Records Older than X Days
1 file changed
+24
-0
lines changedLines changed: 24 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 | + | |
0 commit comments