Restrict Parent Assignment Groups from Being Selected in Assignment Group Field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
51m ago
Our organization maintains a hierarchical assignment group structure where some groups act as parent groups and others act as operational support groups.
Example:
- Parent Support Group
- Support Group A -> User1, User2....
- Support Group B -> User3, User4...
- Support Group C -> User5, User6...
Parent groups are used for organisational structure, reporting, and administration purposes, while work should be assigned only to the operational child groups.
Requirement
When a user selects a parent group:
- The selection should be restricted.
- A validation message should be displayed.
- The user should be required to select an operational (child) group instead.
Example message:
Parent assignment groups cannot be selected. Please choose a valid support group.
I do not want to hide parent groups using a reference qualifier because the business wants users to be able to view the complete group structure.
Instead, the requirement is to:
- Allow parent groups to appear in the lookup/search results.
- Detect when a parent group is selected.
- Show a warning or error message.
- Prevent the parent group from being used as the final assignment group.
I would appreciate any best practices or alternative approaches from the community.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
30m ago
best approach is to use onChange client script + GlideAjax
what did you start with and where are you stuck?
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏