Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

ServiceNow User addition to Group Automation

SambitRath
Giga Contributor

Dear Experts,

 

We have a requirement to automate the user addition to groups in ServiceNow  which is a manual process currently and happening with following flow.

Service Request --> Approved by Line Manager--> 2nd level Approval --->Once approved Catalog task gets created & assigned to the Support team--->Support team manually checks for the group and user(both are active)---->Manually add the user in to the group from the related list  section of the group .

--

Suggest the prerequisite and the best possible solution as per ServiceNow best practice.

4 REPLIES 4

Ankur Bawiskar
Tera Patron

@SambitRath 

you can skip the catalog task part and check if both group and user are active, then check if user is not already part of group

If not then add

where are you stuck?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

@SambitRath 

Hope you are doing good.

Did my reply answer your question?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Tanushree Maiti
Giga Sage

In your current flow , just replace your Manual fulfillment task by this 

o add the user to a group in Flow designer follow the below steps:

1. Add create or update record action.

2. Select Table name - Group member [sys_user_grmember].

3. Now select the group field and select the group in which you want to add a user.

4. Select the user field and select the user to add to the group.

 

For more guide- refer: https://www.youtube.com/watch?v=dlHRauVPPYQ

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:
Catalog and Flow Design run through of adding users to a ServiceNow Assignment Group with Flow Designer! #servicenow #servicenowflowrider

SohamTipnis
Mega Sage

Hi @SambitRath,

 

You can refer to the below article; this will help you to find your requirement as well as help you in the future:

 

https://www.servicenow.com/docs/r/platform-user-interface/content-management-system/c_ContentManagem...

 

https://www.servicenow.com/docs/r/platform-user-interface/c_NavigationAndTheUserInterface.html

 

If you find my answer useful, please mark it as Helpful and Correct ‌😊


Regards,
Soham Tipnis
ServiceNow Developer ||  Technical Consultant
LinkedIn: www.linkedin.com/in/sohamtipnis10