Message notification redirecting to the wrong URL

Abigail
Tera Expert

Hello,
I have a button in a notification that redirects to a record producer

 

<p><a href="${gs.getProperty('glide.servlet.uri')}com.glideapp.servicecatalog_cat_item_view.do?v=1&amp;sysparm_id=84178ca0fb58625014a0f0ff5eefdc36
&amp;ticket=${number}"> Add my comments </a></p>

 

The record producer receives the ticket number, and the user updates it.
For some users, this works and provides the exact link I need, but for others, the link appears differently, like this:
"glideapp.servicecatalog_cat_item_view.do/?v=1&sysparm_id=84178ca0fb58625014a0f0ff5eefdc36&ticket={ticketnumber}"
Instead of the complete link

 

Any idea what might be causing this issue?

We are testing from the system log > email, so we are not using an email application

2 REPLIES 2

Vishal Jaswal
Giga Sage

Hello @Abigail 

 

the only thing to suspect with the code snippet you provided is the user roles to view the number. If you can impersonate one of such user and then look at the log then find out the number value is being displayed in the logs or not.


gs.log("Ticket number: " + current.number);


Hope that helps!

Hello @Vishal Jaswal 

The issue is that when I impersonate the user, it works on my side, but for some reason, it’s not working for him.