sys property to check if instance is prod instance -- DO NOT CHANGE IT!


can be set to "false" in sub-prod instances > should not be changed! See why here

try this approach instead:

instURL = gs.getProperty('glide.servlet.uri');


if (instURL.indexOf('') > -1) {


     gs.print('Not to be run on prod!!');




Popular posts from this blog

GlideRecord setValue

URL link in addInfoMessage