HRSD Configurable Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2026 11:59 PM
Hello Community,
We have a requirements from configurable workspace:
To make custom fields mandatory only if subject person is from India else it should be non-mandatory .
What I tried : Creating UI policy putting all condition with that specific Hr Service , It didn't worked. I even unchecked the global checkbox and use the View field for Workspace UIB - This too didn't worked. I tried creating client script too and calling script include to check for subject persons country details.
No alert, NO addinfomessage nothing is working.
2)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2026 12:56 AM
you didn't share the script you created, share screenshots
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2026 01:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2026 07:14 PM
try to use getXMLAnswer() syntax for GlideAjax
💡 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 || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2026 11:58 PM
Hi @Drishti ,
It should work by using client script and UI type be All and use proper code syntax for client script and script include for the following logic.
If your code still not working please pasted over here.
Please mark helpful and correct answer if it's worthy for you.
