- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2025 02:49 AM
hi everyone ,
i created a notification that contains ${URI_REF} its open the record in itil but i want to open the record in sow
can anyone help me how to configure it
can we do by using ${URI_REF}
record is opening here
but i want topen record here directly after clicking link
can anyone help me with this
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2025 03:05 AM
Hello @lalithkumar,
This can't be done using URI_REF.
Please Create an Email Script from:
(I am naming it "open_ticket_on_sow")
(function runMailScript( /* GlideRecord */ current, /* TemplatePrinter */ template,
/* Optional EmailOutbound */
email, /* Optional GlideRecord */ email_action,
/* Optional GlideRecord */
event) {
var agentURL = '<a href="' + gs.getProperty('glide.servlet.uri') + '/now/sow/record/' + current.getTableName() + '/' + current.sys_id + '">' + current.number + '</a>';
template.print(agentURL + "<br />");
})(current, template, email, email_action, event);
Back on your notification, replace ${URI_REF} with:
${mail_script:open_ticket_on_sow}
If you found this helpful, please hit the thumbs-up button and mark as correct. That helps others find their solutions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2025 03:15 AM
not possible directly.
you can use the link capability and open that record in workspace, give relative URL
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2025 03:05 AM
Hello @lalithkumar,
This can't be done using URI_REF.
Please Create an Email Script from:
(I am naming it "open_ticket_on_sow")
(function runMailScript( /* GlideRecord */ current, /* TemplatePrinter */ template,
/* Optional EmailOutbound */
email, /* Optional GlideRecord */ email_action,
/* Optional GlideRecord */
event) {
var agentURL = '<a href="' + gs.getProperty('glide.servlet.uri') + '/now/sow/record/' + current.getTableName() + '/' + current.sys_id + '">' + current.number + '</a>';
template.print(agentURL + "<br />");
})(current, template, email, email_action, event);
Back on your notification, replace ${URI_REF} with:
${mail_script:open_ticket_on_sow}
If you found this helpful, please hit the thumbs-up button and mark as correct. That helps others find their solutions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2025 03:15 AM
not possible directly.
you can use the link capability and open that record in workspace, give relative URL
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2025 04:06 AM
Thank you it helped