Issue with UI Action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
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
2 hours ago
In Workspace, the UX declarative action works as far as I know, so you need to work in that direction.
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago - last edited 2 hours ago
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
2 hours ago
@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.