- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2025 05:57 AM
Hello Community,
My requirement is to customize the Major Incident Management UI page that appears after clicking the 'View Workbench' UI action within a major incident record. I am attempting to call my custom UI page by overriding the Out-of-the-Box 'View Workbench' UI action, but I am encountering the following error.
Your help is much appreciated.
Thanks,
Linda
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2025 12:11 AM
Removing $ sign from below syntax has fixed the issue. $ symbol is reserved for OOTB system UI pages, hence it should not be used for custom UI pages. var url = "/$<ui_page_endpoint>.do?sysparm_stack=no&sysparm_sys_id=" + g_form.getUniqueValue();
Thanks,
Linda
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2025 05:14 AM
can you share the code of OOTB UI action?
also did you try calling the complete endpoint and not just name for the UI page?
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
07-09-2025 07:06 AM
@Ankur Bawiskar Here's screenshot of OOTB UI Action and UI Action script content
UI Action Script -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2025 07:08 AM
Here's Custom UI action screenshot and UI action script -
Script -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2025 07:16 AM
the issue is your UI action is not able to invoke that UI page.
did you try calling the complete name?
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
07-09-2025 08:07 AM
I am trying to call the UI page using the complete endpoint URL and the UI page name, but nothing is working.
When examining the OOTB UI action, I see it's calling the UI page as:
var url = "/$major_incident_workbench.do?sysparm_stack=no&sysparm_sys_id=" + g_form.getUniqueValue();
What's confusing is that the OOTB UI page doesn't have any attribute with the value "/$major_incident_workbench". Both the UI page name and endpoint attribute are completely different from what's being referenced. It's unclear where the system is getting the reference to "$major_incident_workbench".
Could you please do me a favor and try to copy the OOTB UI page in your PDI by renaming it, and see if you can call it through View Workbench?