How to get same output of the script by using OOTB filter conditions of incident Records for cross checking purpose..??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2022 12:37 AM
var inc = new GlideRecord('incident');
inc.addActiveQuery();
inc.orderBy('number');
inc.chooseWindow(2,10);
inc.query();
while(inc.next()){
gs.print(inc.number);
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2022 12:45 AM
Hi Satish,
Looks Like we don't have OOTB option to choose build for choose window and we have like
active=true^numberBETWEENINC0000002@INC0000017
Thanks
Chandu Telu
Please Mark ✅ Correct/helpful, if applicable,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2022 12:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2022 08:41 PM
Hi
Any update to this ?Any follow-up required? if not
Kindly mark the answer as Correct & Helpful both such that others can get help.
Thanks,
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2022 12:51 AM
Hi Satish,
The following may help you resolve your query:-
https://community.servicenow.com/community?id=community_question&sys_id=74769d5bdba72050da1999ead39619ff
Please mark my answer Correct/Helpful, If it resolve your issue.
Regards,
Surbhi
