ServiceNow prevent running a fix script on a prod instance
var instURL = gs.getProperty('glide.servlet.uri');
if (instURL.indexOf('https://PRODINSTANCE.service-now.com')>-1) {
gs.print('do not run on prod');
} else {
All things ServiceNow... take a look at my channel: https://www.youtube.com/@cloudminus89
var instURL = gs.getProperty('glide.servlet.uri');
Comments
Post a Comment