HRSD Configurable Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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
3 weeks ago
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
3 weeks ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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
3 weeks ago
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.

