- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2025 09:48 PM
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 , can you guide me how to write the script to send the current RITM number and RITM link in the workflow.
Thanks and Regards,
Chandan patra
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2025 10:26 PM
use this to form the link and send in the payload wherever you want
I assume your workflow is running on RITM table
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>';
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-10-2025 09:54 PM
so what did you start with and where are you stuck?
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-10-2025 10:00 PM
using workflow.scratchpad.vnumber = current.number;
In this script i am getting current RITM number but i am not create the RITM link to send in the payload or body.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2025 10:26 PM
use this to form the link and send in the payload wherever you want
I assume your workflow is running on RITM table
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>';
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 01:09 AM
@Ankur Bawiskar :while putting logs in the workflow:
I am Geeting 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