- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2023 06:54 AM
Hi All,
Can someone help me how to add RITM links in the notification email script? I have added the below code but instead of a URL link, the URL is getting printed on the mail.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2023 08:13 AM
Hi Dipen ,
The link works now but I need to add the RITM number and I have tried adding it like this. Please find the screenshot for your reference
Below is the working code and I need to add RITM number in the view. Please help me on this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2023 07:00 AM - edited 10-16-2023 07:08 AM
Hi @NagaNandini N ,
If you have your notification on RITM table itself u can use this in your notification body ${URI_REF} wherever u want to display the hyperlink for the RITM ticket. ( this will display the data in the native view)
If you want to display it on portal use below link
var link = "<a href =" + gs.getProperty('glide.servlet.uri') + "service-now.com/sp?id=ticket&table=sc_req_item&sys_id="+current.sys_id+"&view=sp>Click Here</a>";
Mark my answer as Helpful & Accepted if it helps you resolve your issue.
Thanks,
Danish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2023 07:13 AM
Hi @Danish,
${URI_REF} - This one is taking me to the fulfiller end view. Users need to view it in the SP (service portal view). Please suggest me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2023 07:22 AM
Hi @NagaNandini N ,
If you want to display it on portal use below link
var link = "<a href =" + gs.getProperty('glide.servlet.uri') + "service-now.com/sp?id=ticket&table=sc_req_item&sys_id="+current.sys_id+"&view=sp>Click Here</a>";
Mark my answer helpful & accepted if it helps you.
Thanks,
Danish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2023 07:25 AM
var link = "<a href =" + gs.getProperty('glide.servlet.uri') + "service-now.com/sp?id=ticket&table=sc_req_item&sys_id="+current.sys_id+"&view=sp>Click Here</a>";
This one is not working. I applied this in the notification email script and called in a notification nothing is displayed.