Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2019 04:16 AM
Your script should be like below:
var dts = new GlideRecord('incident');
dts.addQuery('number','INC0010120');
dts.query();
if(dts.next()){ gs.info(' exists'); } else { gs.info('does not exists'); }