How to search list of incidents
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2016 03:51 PM
Hi Friends,
I would like to search a list of tickets (around 300 incidents). Please assist.
OR between each incident allows me only certain range.
- Labels:
-
User Interface (UI)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2016 04:05 PM
Hi,
This is done with filters and breadcrumbs. Very easy to use.
Recommended reading:
Using Filters and Breadcrumbs - ServiceNow Wiki

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2016 04:06 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2016 04:07 PM
If I misunderstood (after reading a second time) you may be referring to scripting... in that case, you can use the GlideRecord API.
Recommended reading:
Let me know if one of those random answers hits the mark.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2016 04:18 PM
Hi Senthilkumar,
If you are looking for a script then you can refer the sample here and adjust it accordingly as per your req. For ex the below one will filter all active records and return the row count.
incidentCount()
function incidentCount()
{
var gr = new GlideRecord('incident');
gr.addQuery('active', true);
gr.query();
while(gr.next())
{
gs.info(gr.getRowCount() + ' incidents found');
}
}
The same script you can fire from background script. More info here.
Background Scripts — ServiceNow Elite
If that doesn't answer your question then please elaborate further on your req.