Get the instance URL

var instanceURL=gs.getProperty('glide.servlet.uri');

 

output
 

*** Script: https://<>.service-now.com/

 

Comments

Popular posts from this blog

GlideRecord setValue

URL link in addInfoMessage