Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to display Group members in catalog item which ever select group in Group name field ?

ram_sn2018
Kilo Contributor

How to display Group members in catalog item which ever select group in Group name field ?

Scenario:

Group: Database

Group members: how many members available, i need to display all members on catalog item

 

 

 

please help me , its my client requirement.

 

Thanks,

Ram 

 

1 REPLY 1

Slava Savitsky
Giga Sage
  1. Create a variable of type "List collector".
  2. Optionally, add glide_list attribute to your new variable to make it look nicer.
  3. In an onChange catalog client script for your "Group" variable, make a GlideAjax call to the server to get the list of members of that group and put the result into your list collector variable using g_form.setValue() method.