Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2025 10:05 AM - edited 10-24-2025 10:06 AM
that line at line 7 is server side and won't work in client side.
you can use GlideAjax and then invoke that line in script include
How to use UI Actions in Workspaces
Note: if you are in scoped app then that script include should be made Accessible from All Scopes, then only Ajax works
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Regards,
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader