Incident number as link
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2023 12:45 AM
Hi all, How can i get this current.number (incident number) as http link in output.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2023 12:54 AM
@Sharath807 Try the following.
At line number 5, replace current.number with recordURL as follows.
var recordURL=gs.getProperty('glide.servlet.uri') +"nav_to.do?uri="+current.getLink(false)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2023 01:52 AM
@Sandeep Rajput hi its showing output as actual link...Actually i need this link as number (INCxxxxxx)... when i click this number it should navigate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2023 01:10 AM
Dear @Sharath807
Please use current.number.toString() in your script.
- Kailas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2023 01:59 AM
Hi @Sharath807
Please use the below link for your reference.
How to add hyperlink into info message - Support and Troubleshooting (servicenow.com)
- Kailas