Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

How to have a RITM "URI_REF" notification link point to SOW instead of the Next Experience UI?

anthonyfall
Tera Expert

I am creating notifications on RITM tickets as they are inserted. The notification will send and email to all assignment group users of the ticket. The body of the notification will include a link to the RITM ticket. I would like for users to click this link and be brought to the SOW view of the ticket, not the Next Experience view of the ticket. What can be done for this to work?

1 ACCEPTED SOLUTION

Tanushree Maiti
Giga Sage

Hi @anthonyfall 

 

Go 

Go to "System Notification > Email > Notification Email Scripts" and paste the following code.

Ref: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB2039224

 

var sowURL= '<a href="' + gs.getProperty('glide.sys.servlet_path') + '/now/sow/record/' + current.getTableName() + '/' + current.sys_id + '">' + current.number + '</a>';
template.print(sowURL + "<br />");

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

View solution in original post

1 REPLY 1

Tanushree Maiti
Giga Sage

Hi @anthonyfall 

 

Go 

Go to "System Notification > Email > Notification Email Scripts" and paste the following code.

Ref: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB2039224

 

var sowURL= '<a href="' + gs.getProperty('glide.sys.servlet_path') + '/now/sow/record/' + current.getTableName() + '/' + current.sys_id + '">' + current.number + '</a>';
template.print(sowURL + "<br />");

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: