UI Action that allows user to select an assignment group and an assigned _to user in that group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello, I have created a UI action workspace form button that when clicked shows a pop-up with the assignment group and assigned to fields.
the first field correctly displays all group options in the sys_user_group table,
however, the "assign to" field is not displaying any users from the sys_user table, let alone those in the group selected above.
the pop-up will be used to assign both the group and a member in that selected group, all in the same pop-up, any solutions/suggestions are appreciated.
here is the workspace client script fyr:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Yes exactly, the assigned to should only show users from the group selected in the field before it. can this be done?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Greetings @NourT . This should be out of the box behavior that the Assigned to field will be filtered down based on the value of the Assignment Group field. On the Incident table, the Assigned to Dictionary entry shows that it has a Dependent relationship on the Assignment Group field. This means when you select an Assignment group value, the Assigned to will then be filtered down to only show those group members.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
in modal it's not normal field which would directly support reference qualifier similar to how dictionary field works
I doubt applying reference qualifier on 2nd field based on 1st is possible
Try this workaround using UI page and call that from g_modal.showFrame
Filter a reference field in g modal in Workspace
Then within UI page how to handle the reference qualifier, see this link where I shared solution years ago
💡 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
Hope you are doing good.
Did my reply answer your question?
💡 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
I think this is feasible
check this link, response from @simonezini
Filter a reference field in g modal in Workspace
Basically create 1 field and then use GlideAjax and bring the members of that group and on the fly add new field and apply the query
💡 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
