Scoped GlideSystem - getProperty(String key, Object alt)

Gets the value of a Glide property. If the property is not found, returns an alternate value.

Table 1. Parameters
Name Type Description
key String The key for the property whose value should be returned.
alt Object (Optional) Alternate object to return if the property is not found.
Table 2. Returns
Type Description
String The value of the Glide property, or the alternate object defined above.
var attachment_link = gs.getProperty('glide.servlet.uri');
gs.info(attachment_link);

Output: https://instance.service-now.com/