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

Hi,

the blog explains how on change of reference variable you can set values automatically on the right hand side of the slush bucket

Did you get a chance to check that? I would encourage to check that and it will help you.

Can you share your complete script here?

Regards
Ankur

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

Hi Ankur,

I am trying another way also to print(alert) selected assignment group members in alert..

alert(g_form.getDisplayBox('assignment_group').user);

is it correct..

Hello Lata,

When you select the group, do you see any users on your left side of the list? If yes, then selection of users has to be done manually.

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,

i wrote same code in ref qualifier and default value attribute..when i select group and if i entered that group users i am unable to find users in left side..

Hi,

Did you mention your actual group name in place of group_field?

If you are doing this on PDI, we can debug this together. you can call me on my number which is visible in my profile.