- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-13-2022 03:50 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-13-2022 03:56 AM
In the Incident filter, you can use below condition to get those records
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-13-2022 04:56 AM
You can try like this if you want to use script.
var gr = new GlideRecord("incident");
gr.addEcodedQuery("closed_atRELATIVELT@hour@ago@24");gs.print("incident which are closed from 24 hr are as follow :");
gr.query();
while(gr.next())
{
gs.print(gr.number);
}
gs.print("total count : " + gr.getRowCount());

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-13-2022 03:56 AM
In the Incident filter, you can use below condition to get those records
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-13-2022 04:06 AM
Thanks, Its working for me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-13-2022 04:56 AM
You can try like this if you want to use script.
var gr = new GlideRecord("incident");
gr.addEcodedQuery("closed_atRELATIVELT@hour@ago@24");gs.print("incident which are closed from 24 hr are as follow :");
gr.query();
while(gr.next())
{
gs.print(gr.number);
}
gs.print("total count : " + gr.getRowCount());