UI action is not working on service operational workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2024 01:35 AM
I want to enable the cancel change UI action to workspace.
However, whenever I go to Service Operation Workspace and I click on the button nothing happened and getting error message that "Failed to execute the UI Action. Please contact your administrator". Not sure What could be the reason.
Please refer below screenshot.
How to enable this UI and how can we write some code in workspace client script.
Please someone help on this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2024 01:56 AM
Is it working as expected in platform/native side?
What does the UI Action code contain in Workspace Client script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2024 02:10 AM
HI @Dibyaratnam
Yes its working in UI16. I have used some code in workspace client script. please refer the attachment.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2024 02:17 AM
First of All, GlideModal will not work in workspace client script and you have to replace the logic by using g_modal and its methods.
Please check this link on how to use UI actions in workspace.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2024 02:18 AM
Hi @Simba Naidu
Might be helpful
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************