- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2018 01:49 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2018 01:55 PM
Hi Ram,
The below one may help you.
var arr=[];
var inc = new GlideRecord('incident');
inc.addActiveQuery();
inc.addEncodedQuery('category=software^ORcategory=hardware');
inc.query();
while(inc.next())
{
arr.push(inc.getValue('number'));
}
gs.print(arr);
Hope this helps!
Thanks,
Archana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2018 01:51 AM
Could you please explain the scenario, do you want to create the report?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2018 12:49 AM
yes

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2018 02:48 AM
You may display active incidents from these categories by setting up filter above you incidents list as following:
and you will get result:
after this if you want to see report - right click on Category column and select Pie/Bar Char and this will create you report
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2018 02:57 AM
Hi,
Through Business rules.