How to change the URL created by \${URI} / \${URI_REF}

chr_kluge
ServiceNow Employee
ServiceNow Employee

Hi everyone

Both variables create in the resulting URL the parameter "sysparm_stack". I don't want this to happen. So how can I achieve this?

Is there a system property or something available? Or do I have to use the template.print function and print the hyperlink on my own into the notification?

Thank you

Christina

5 REPLIES 5

manikorada
ServiceNow Employee
ServiceNow Employee

Christina,



You need to use template.print to print the hyper link.


Bharat23
Kilo Guru

Not sure about how you are implementing it but as an alternate you may use event.parm1 and event.parm2 parameters to pass url and use it in the <mail_script>


Constantine Kr1
Giga Guru

Try setting the System Property : glide.email.override.url


Here is a link to documentation on the property : Additional email properties



Tim129
Tera Contributor

I know this is an old post...

 

1. In your filter navigator type "sys_properties.list"

2. in the Name column search for "glide.email.override.url"

3. Click the name

4. in the default section add "https://whatever.your.URL.is/nav_to.do"

 

This will make any link for the URI or URI REF correct.