Issue with UI Action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2025 08:26 AM
My UI Action is not working in the workspace... can someone please guide what I need to write in the workspace client script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2025 08:47 AM
In Workspace, the UX declarative action works as far as I know, so you need to work in that direction.
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/dratulgrover [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2025 08:50 AM - edited 12-18-2025 08:50 AM
Hi @Sathwik1
Can you confirm whether the UI Action is intended to :
• only perform client-side validation and save the record, or
• trigger server-side processing (for example, StateFlow) when clicked?
In Configurable Workspace, UI Actions are client-only, so any server-side logic would need to be handled via a Business Rule or Flow Designer.
Regards,
-Ankit
Linkedin : https://www.linkedin.com/in/sharmaankith/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2025 08:52 AM
@Sathwik1 Now able to figure our what's going wrong with your functionality. But, suggestion from my end would be to create a separate UI Action(By same name) but write everything in the Workspace Client Script and manage Server side updates via GlideAjax(create a script include for that). I did similar thing recently (Or else you can create declarative actions too).
Mark my response as helpful if it helped resolve your query.
Thanks,
Mahesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2025 02:50 AM
which UI action is this?
Is this an OOTB one?
to make it work you need to write logic in workspace client script
what did you start with and where are you stuck?
💡 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 || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
