When User is selected then auto populate the groups that user is present in catalog item.

Bindu13
Tera Contributor

I have a requirement that in the catalog item field name is Requester (sys_user) and when we select the user then a small box will open under that field with groups that the user present 

5 REPLIES 5

Ravi Chandra_K
Kilo Patron
Kilo Patron

Hello @Bindu13 

You could refer: 

https://www.servicenow.com/community/itsm-forum/populate-groups-and-roles-based-on-selected-user/m-p...

 The above thread is for populating both groups and roles. You could extract the groups part from the script.

 

Help others to find a correct solution by marking the appropriate response as correct answer and helpful!!

 

Regards,

Ravi Chandra 

Hi Ravi,

 

Thank you but it is not what I want.

Hello @Bindu13 

are you talking about the reference qualifier that only shows groups that user is member of? Could you elaborate the use case pls.

In the above thread, it populates all groups in list collector.

Regards,

Ravi Chandra.

Hi Ravi,

Yes Ravi, it only shows user groups that user is member of and that box will be read only. Like below reference. 

Bindu13_0-1688387763356.png

 

Regards,

Bindu.