UI action is not working on service operational workspace

Simba Naidu
Tera Contributor

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. 

4 REPLIES 4

Dibyaratnam
Tera Sage

Is it working as expected in platform/native side?

What does the UI Action code contain in Workspace Client script.

Simba Naidu
Tera Contributor

HI @Dibyaratnam 

Yes its working in UI16. I have used some code in workspace client script. please refer the attachment.

 

Thanks

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.

https://www.servicenow.com/community/next-experience-articles/how-to-use-ui-actions-in-workspaces/ta...

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Simba Naidu 

 

Might be helpful

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0547282#:~:text=If%20the%20UI....

 

https://www.servicenow.com/community/developer-forum/why-ui-action-is-not-working-in-service-operati...

*************************************************************************************************************
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]

****************************************************************************************************************