Building URL dynamically to view a RITM in 'Workspace mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
I am trying to build an URL to open a RITM in ServiceNow (Workspace mode)
When opening the RITM directly from servicenow,the following URL is presented:
RITM0086545 | Service Operations Workspace | ServiceNow
How can I create this URL dynamically for opening the desired RITM (RITM0086545)?
I do know how to open the RITM in 'classic mode'. But that is a very inefficient user-interface for us;
start msedge "https://<server>/now/nav/ui/classic/params/target/sc_req_item.do?sys_id=<RITM-number>"
I need a similar script to open the RITM in 'workspace-mode'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
In Workspace, records are opened using the now workspace URL pattern, not the classic nav_to.do pattern. The URL is based on the workspace, the table, and the record's sys_id.
The format to open a record in workspace is
https://<instance>/now/sow/record/sc_req_item/<sys_id>
You just need to fetch the sys_id and construct the URL accordingly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
This is NOT functioning. I get the result "Record not found".
Also tried the following:
' https://smurfitkappa.service-now.com/now/sow/record/sc_req_item.do?sys_id=RITM0086545 '
Now a different page "Page not found" will be loaded.
I am very certain that the RITM0086545 exists in our ServiceNow .
But scripting something to open the same page is not functioning. I am looking for a script to open an RITM from a different application. That application should Start ServiceNow and open the correct RITM.
Of course, in our other application we store the RITM-numbers, not the 'sys_id'. That is something completely NOT understandable for users. So maybe the question should be how to convert RITMnumber into a <sys_id>?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
what do you mean by workspace mode?
in SOW you want to open?
if yes then you can have like this
now/sow/record/sc_req_item/<sysId>
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
In Servicenow you can go to "Workspaces > Service Operations Workspace" (top menu-bar).
When you open a RITM there, it has a much better and user-friendly user-interfasce where you do not have to scroll through a lot of data to come to the tasks.
So Yes, I probably mean SOW.
No, your response did not help. Still the RITM is NOT opened. It looks like we need need a '<sysid> ' but I only have a RITM-number be be opened. The sys-id is some pointer-ID I guess? That is not understandable by humans.
In our other application we communicate using the RITM-numbers. From that application we want to start ServiceNow and open the selected RITM. So the question is how to get the <sysid> corresponding with the RITM.
We do have a script that works for opening the RIM in CLASSIC-mode. But that is a terrible user-interface.
'start msedge "https://<server>/now/nav/ui/classic/params/target/sc_req_item.do?sys_id=<RITMcode>"':U
<Server> and <RITMcode> will be replaced with the correct values. Something similar I need for SOW.
