${URI_REF} not working in email template
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 04:46 AM
I am working on a functionality where notification will be sent when case is assigned to an assigned group, it will contain link to the case. For this email template is used where ${URI_REF} is not working. Please suggests if there are any workarounds.
Thanks,
Kanishka
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 05:24 AM - edited 02-12-2024 05:25 AM
Hi @kanishka_bhasin, what is the table you have this template created on? Also check which field has the display value as true in the table dictionary.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2024 01:00 AM - edited 02-13-2024 01:01 AM
I'm using case table. I can see the display value in the preview email but it is taking me to the homepage and not to that particular record
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 06:33 AM
Hi @kanishka_bhasin ,
As a workaround could you please try using html tag
In your 'Message HTML' box, could you please perform following actions.
please click on sign <>, it will open up the window where you can type HTML tags.
write the code
<a href="nav_to.do?uri=incident.do?sys_id=${sys_id}">${number}</a>
Change the html based on your requirement.
Please mark this comment as Correct Answer/Helpful if it helped you.
Regards,
Swathi Sarang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2024 12:59 AM
Hi, adding this in source code is working same as ${URI_REF}. both are redirecting me to the home page of instance and not to the particular record
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2024 01:12 AM
@kanishka_bhasin , Can you refer this Screenshot which I have replicated in PDI and works fine , this is Routing to HR case
Preview
Check if your giving correct details in the Notification and Table name in Email template
Regards,
Shyamkumar
Regards,
Shyamkumar