Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2018 10:05 AM
Got this to work! Here's how you do it. Please modify with your table.
(function(outputs, steps, stepResult, assertEqual) {
// add test script here
var a=new GlideRecord('incident');
var getid= steps('9ff2533cdbf1e30075dd9837db961917').record_id;
gs.info("number is "+getid);
a.addQuery('sys_id',getid);
a.query();
if(a.next()){
gs.info("number is "+a.number);
}
})(outputs, steps, stepResult, assertEqual);