Open email links in service operations workspace

Alex Saager1
Tera Contributor

Hi Community,

 

Wondering if its possible when opening a link on an email notification for example take me to the incident it can be opened in the service operations workspace incident form view instead of the back end view or maybe an alternative to ${URI_REF} to add to the email notification?

 

Many thanks,

Alex

1 ACCEPTED SOLUTION

Mark Manders
Tera Patron
3 REPLIES 3

Mark Manders
Tera Patron

This post will probably help.

Thanks @Mark Manders worked perfectly

Haseeb-Ahmed
ServiceNow Employee

Hi @Alex Saager1 ,

you may change the code in the sys_email_script(sys_script_email_f25bc270d711120035ae23c7ce610323) and try assigning link variable value as below

 

var link = gs.getProperty('glide.servlet.uri') + 'now/sow/record/' + current.getTableName() + '/' +current.getUniqueValue() ;

 

Please mark it helpful if it answers your query.

Thanks,
Haseeb Ahmed