How to apply notification email script new changes to old emails in instance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2024 03:47 AM - edited 06-18-2024 03:48 AM
Hi
In My requests case page in portal, previously we have been using our customized standard routing portal but recently we have been changed to standard ticket route as its OOTB functionality in order to show the additional details section for customers
For our old customized one, notification email script in which link in the email routing to case page, its designed as below with no table name in URL
var url = 'ecportal?id=hrm_ticket_page&sys_id=' + current.getUniqueValue();
template.print("<a href= '"+ url + "'>" + current.number + "</a>");
For new standard one, notification email script should be as below as it should contain table name in the URL
var url = 'ecportal?id=hrm_ticket_page&sys_id=' + current.getUniqueValue()+ '&table='+current.getTableName();
template.print("<a href= '"+ url + "'>" + current.number + "</a>");
so for new mails its working fine but for old emails the routing link is in the old format, as because of no table name in it ,the case page is not available to users like below screenshot
How can we apply the new changes to old, generated emails, please help me to resolve this issue
@Dr Atul G- LNG @Sandeep Rajput @Abhishek_Thakur @Kieran Anson

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2024 05:37 AM
Hello @sri vijaya -
Just wanted to grab a little extra clarification on this.
Are you saying, that you are trying to see the new standard in your email notification changes, to older emails that have already been sent out from the instance?
So, you made changes to your notification script --> navigating to an older email that was sent out (generated) by the system (in the mailbox SENT folder) before the changes --> and are wanting to see your new notification script changes there?
If yes to the above - then I do not think you will be able to see any changes from the notification script to older, already generated emails that have been sent. And that is because they have already been generated by the notification in place at that time.
If I am wrong in my guess as to what you are looking for, please let me know and maybe provide another example.
Thank you so much,
-Rob