- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2022 03:16 AM
Hey Developers,
I have used ${URI_REF} opposite to Number.
Instead of showing STRY number it's showing short description of the story.
I have been using ${URI_REF} & it worked as expected. Not sure what wrong here.
Please suggest.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2022 03:21 AM
Try something like this:
template.print('<a href="https://' + gs.getProperty('instance_name') + '.service-now.com/nav_to.do?uri=task.do?sys_id=' + current.sys_id + ' ">' + current.getValue("number") + '</a>');
Embed in your notification
${mail_script:getStoryNumber}
Aman Kumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2022 03:18 AM
I think your display value for the table is short description, that's why you are getting this.
You might want to change display value to Number, but that will be a global change, rather write up your own email script to show number.
Aman Kumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2022 03:21 AM
Try something like this:
template.print('<a href="https://' + gs.getProperty('instance_name') + '.service-now.com/nav_to.do?uri=task.do?sys_id=' + current.sys_id + ' ">' + current.getValue("number") + '</a>');
Embed in your notification
${mail_script:getStoryNumber}
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2022 03:36 AM
Hey Aman,
It worked. Thank you so much.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2022 04:49 AM
Glad that it worked out.
Cheers!
Aman Kumar