hide user in dropdown
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
I want to hide a user that is in the "Assigned to" group. Since they are part of a group in "Assignment group", I am not able to hide them without removing them from the group all together. How do I go about changing this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
the assigned to field must be having dependency on the Assignment group and hence not directly possible
2 approaches
1) remove that dependency and use advanced reference qualifier and in the script include get all members of that group excluding that user and return those sysids
OR
2) keep the dependency as it is, use onSubmit client script or onChange client script and check if the selected user is the one which you don't want to be selected, if yes then throw field message with error
💡 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