not authorized this script in background. if filters are applying this is working

venkata krishn2
Kilo Contributor
var inc = new GlideRecord('incident');
inc.addActiveQuery();
inc.addQuery('priority','<=',2); // using operators
inc.addQuery('short_description','CONTAINS','sap');
inc.query();
while (inc.next()){
gs.print(inc.number +''+ inc.short_description);
}
 
 

 

c

check another one apply filters

 

any one is tell me why this is come

6 REPLIES 6

Jaspal Singh
Mega Patron
Mega Patron

Hi Venkata,

Script seems fine. What is the issue?

see the images once run script background shows not authorized

Chandu Telu
Tera Guru
Tera Guru

Hi Venkata,

Looks like your issue is not clear this code looks fine and not sure what help you need here

 

Thanks
Chandu Telu
Please Mark Correct/helpful, if applicable,

see the images once run script background shows not authorized