Populate group based on requested for user selected

Revathi12
Tera Contributor

Can someone share the sample script to populate the groups based on the requested for selected in catalog item.

 

Thanks!

5 REPLIES 5

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Revathi12 

 

What is your use case , if explain more, to help you

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Revathi12
Tera Contributor

Hi,

 

I have requested for field on catalog item, and field existing groups. When ever we select  value in the requestor field, then we need to populate the groups mapped to requested for user automatically

Thanks for update, is it is 1-1 mapping or a user can be part of many groups?

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Hi @Revathi12 

 

https://www.servicenow.com/community/developer-articles/display-a-list-of-groups-on-service-portal-i...

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************