need to populate assignment group members in list collector field

lata1
Tera Contributor

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...

 

27 REPLIES 27

This works really well. Thank you

asifnoor
Kilo Patron

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

lata1
Tera Contributor

Hi Asif,

When i select any group it doesnt restrict and doesnt populate that group users.

Here how to populate users and cani put glide_list in attribute..

could u helo me..

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

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

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?