August 30, 2018, 2:06 pm - James Farrer
In the London release, ServiceNow is introducing support for custom domain names. What this means is that anywhere a full URL is generated (usually notifications) we'd need to make sure that we're making the URL's properly. I've most often seen and used the instance_name property to get the hostname and then added that in with ".service-now.com". The new feature should be backwards compatible so things won't break but it won't use the new domain should they start using that.
Moving forward we should instead use the following to get the full domain name and then we just need to add the specific path after it.
Use this:
gs.getProperty("glide.servlet.uri")
To get this:
https://crossfuze.service-now.com/
Which in London release could be configured as https://servicenow.crossfuze.com/ or whatever else we want.