- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 11:01 PM
Hi Experts,
I want to send one notification that contains an instance URL in that notification. I want to add an instance version as well in that notification. Like (Instance Version: Vancouver (if possible add patch number as well like Vancouver-07-06-2023__patch9-hotfix2-06-11-2024)
Please let me know how to call the instance version in the email script so that we can send that in the notification.
Thanks in advance,
Amol
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 11:17 PM
Hi @Amol Pawar ,
There is one system properties that you can use to achieve your requirement.
Property name - glide.buildtag.last.
Solution - You can create one Mail Script and call this property with gs.getProperty();
Example -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 11:10 PM - edited 07-31-2024 11:13 PM
Hello @Amol Pawar ,
In ServiceNow instance OOB we have a glide.buildtag.last system property which stores latest build name and patch number. (mid.version is another system property)
in email script you can use gs.getProperty('glide.buildtag.last') method which returns the value of the glide.buildtag.last system property
Thank you
G Ramana Murthy
ServiceNow Developer

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 11:10 PM - edited 07-31-2024 11:11 PM
Hi there,
Such a value is stored in system property "glide.buildtag.last". To get that into a notification, you would need to create a mail script. In the mail script obviously using regular ServiceNow scripting like gs.getProperty.
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 11:17 PM
Hi @Amol Pawar ,
There is one system properties that you can use to achieve your requirement.
Property name - glide.buildtag.last.
Solution - You can create one Mail Script and call this property with gs.getProperty();
Example -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2024 02:09 AM
Hi @RAMANA MURTHY G, @Mark Roethof, and @Akshay Gupta2,
Thank you so much for your quick reply.
Yes, it worked.
Thank you,
Amol