Update group for user created from catalog item

Souvick6917
Tera Contributor

Hello team,

I am creating customer contact from a catalog item. After submission of the catalog it is creating record on the customer table.

The challenge is to add the created users to specific groups. I want to achieve this by flow designer,

Scenario: One variable A with option X and Y.

On select of X , the created users should be added to P group 

On select of Y , the created users should be added to Q group 

The groups are visible under the related tab of the customer form.

 

Please help with this requirement, and suggest any alternate method to achieve the solution other than using Flow designer.

 

Rergards

Souvick

 

6 REPLIES 6

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Souvick6917 

 

https://www.servicenow.com/community/itsm-forum/how-to-add-user-to-group-sys-user-group-using-flow-d...

 

*************************************************************************************************************
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

My requirement is adding the user to specific group based on specific selection of variable value as I described in the above scenario.

The variable and its choices should be the condition on the flow designer based on which the users will be added to specific group that too from the flow designer.

 

Hi @Souvick6917 

Yu need to get the variable action and then pass that from groups. 

 

https://www.servicenow.com/community/now-platform-forum/flow-designer-add-one-user-to-multiple-group...

 

*************************************************************************************************************
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]

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

What variable type(s) are these? This sounds like a potential good use for a flow + decision table that either references the appropriate group as part of the decision answer, or triggers a subflow