populate the group members name and email id in one field

yaswanth123
Tera Contributor

Please create one catalog item with one reference(Name:Group name ,Ref:group table) variable. Create another variable(Name:Group members) multiline text. Whenever the group is selected in “Group name” all the group members(name,mailid) need to display in “Group members” variable as comma separated.

1 REPLY 1

Community Alums
Not applicable

@yaswanth123 --

  1. Navigated to ServiceNow instance All -> Service Catalog -> Catalog Definitions -> Maintain items.
  2. Created one catalog item.
  3. Created two Variables namely Group name as reference variable & Group members as Multiline text.
  4. Created OnChange type catalog client Script on “Group name” variable.
  5. Created Script includes to fetch data from the group member table.
  6. After all above steps I did “Try it” on Catalog item and it is working as expected.

 

shraddhaDSawant_0-1690549757027.png

 

shraddhaDSawant_1-1690549767705.png

shraddhaDSawant_2-1690549789923.png