- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2025 05:02 AM
Hi -
I created a new UI action in Change Request (On Hold) and it shows fine in the native UI but how can I show this in Service Operations Workspace. Can someone please assist? Thank you
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2025 05:16 AM
to show that in workspace you already checked the checkboxes for Workspace Form menu and Format for Configurable Workspace and you add client side logic in workspace client script
add this in workspace client script
function onClick(g_form) {
g_form.setValue('state', 8);
g_form.setValue('on_hold', true);
g_form.submit('actionName'); // put the action name of your UI action here
}
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 05:16 AM
to show that in workspace you already checked the checkboxes for Workspace Form menu and Format for Configurable Workspace and you add client side logic in workspace client script
add this in workspace client script
function onClick(g_form) {
g_form.setValue('state', 8);
g_form.setValue('on_hold', true);
g_form.submit('actionName'); // put the action name of your UI action here
}
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 05:41 AM
Thank you so much! That worked
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2025 05:25 AM
Hello @angel7170 ,
To display the Ui action you wil need to enable below two fields from ui action configuration form, please refer below image:
✔️Please mark responses as HELPFUL and ACCEPT SOLUTION to assist future users in finding the right solution....