Message notification redirecting to the wrong URL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2025 03:39 PM
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&sysparm_id=84178ca0fb58625014a0f0ff5eefdc36
&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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2025 04:12 PM
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2025 08:03 AM
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.