need to populate assignment group members in list collector field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2020 03:30 AM
Hi all,
I have group field(reference to group) when i select any group, that group members need to populate in list collector field(List collector reference to user ).
i want to show that particular group members in list collector field remaining group users i want to restrict...
Thanks in advance...

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2022 04:28 AM
This works really well. Thank you

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2020 03:39 AM
Hello Lata,
You can do this with the help of reference qualifiers.
1. Make the list collector (users) field refer to sys_user_grmember table
2. Under reference specifications mention
javascript:"group=" + current.group_field //put your group field here
3. Then under default tab, under attributes mention
ref_qual_elements=your_group_field
Kindly mark the comment as a correct answer and helpful if it helps to solve your problem.
Regards,
Asif
2020 ServiceNow Community MVP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2020 04:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2020 04:31 AM
Hi,
so you have to auto-select users i.e. move users to right slush bucket when group is selected
please have a look at this below blog
Dynamically set list collector on change of variable
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2020 04:40 AM
Hi,
When i select any group how to get that group users in popup through client script.
on change of group
alert(g_form.getDisplayBox('assignment_group').user);
Is it correct?