- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2025 01:51 AM
HI All,
We are using Saviynt integration in that in i need to send RITM link .We are using the workflow to send the payload to Saviynt teams . Once the user click RITM than it should open the service now page .I have used the
var url = '<a href="' + gs.getProperty('glide.servlet.uri') + '/nav_to.do?uri=' + 'sc_req_item' + '.do?sys_id=' + current.sys_id + '">' + current.number + '</a>';
while writing the script in the workflow:
I am Getting output in the logs : like :
test_123<a href="https://s32uat.service-now.com/nav_to.do?uri=sc_req_item.do?sys_id=37c2541a87466e1013a7cae20cbb35e2">RITM0041256</a>
Can you help me to get the correct output
Thanks,
Chandan
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2025 10:07 PM
that's not possible while sending REST Message as it will be sent as plain text.
Inform 3rd party to handle this at their side, you can send RITM number and the link separately and then they can handle the anchor tag at their side to add link in their notes/some field.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2025 09:09 PM
then do not include html tags, send direct link and ask them to check if it came as link
var url = 'https://p32uat.service-now.com/nav_to.do?uri=sc_req_item.do?sys_id=' + current.sys_id;
workflow.scratchpad.vumber = url;
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2025 09:55 PM
i am getting output like this: Generated RITM link: https://p32uat.service-now.com/nav_to.do?uri=sc_req_item.do?sys_id=705034aa8786225013a7cae20cbb3546
I require output Like this : R̲I̲T̲M̲0̲0̲3̲2̲1̲ ( number with underline , once user will click it will open new page )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2025 10:07 PM
that's not possible while sending REST Message as it will be sent as plain text.
Inform 3rd party to handle this at their side, you can send RITM number and the link separately and then they can handle the anchor tag at their side to add link in their notes/some field.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2025 10:16 PM
try sending this and ask them to put that value in HTML field at their side and if they see the link you are good
{
"customer64": "<a href=\"https://p32uat.service-now.com/nav_to.do?uri=sc_req_item.do?sys_id=123456\">RITM0012345</a>"
}
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader