We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

iam facing problem of background script not showing the output

divya venna
Kilo Explorer

any one please help me

1 ACCEPTED SOLUTION

@divya venna 

Is your issue resolved?

Feel free to mark correct, If I answered your query.

Will be helpful for future visitors looking for similar questions 🙂

Best Regards
Aman Kumar

View solution in original post

12 REPLIES 12

divya venna
Kilo Explorer

Hi Aman,

 

How to install sublime text in servicenow, can u guidence please

 

SushantK104
Tera Contributor
var incidentGR = new GlideRecord('incident');
incidentGR.addQuery('number','contain','INC00001');
incidentGR.query();
while(incidentGR.next()){
    gs.print(incidentGR.number);
}

AmolJ
Tera Expert

It's not about the script. It's about the output not getting displayed. Even though you write the simplest script and the script is correct, the result is not displayed.