I want to preserve a group in Sub-PROD instances

Nishant Kumar5
Tera Contributor

I have a group of certain people in sub-prod instances, I want preserve it along with the users and roles of the group. The users and roles are available in PROD also but not the group. Does creating a data preserver only for the group will work?

11 REPLIES 11

Mark Roethof
Tera Patron
Tera Patron

So the tables that I mentioned are:

sys_user_group
sys_user_grmember

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark
2020-2022 ServiceNow Community MVP
2020-2022 ServiceNow Developer MVP

---

LinkedIn
Community article, blog, video list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Kalaiarasan Pus
Giga Sage

I am guessing that you want to preserve the groups and members of only certain groups like admin, some process or test users? If that is the case, you can instead consider using post clone scripts. Create a post clone script that adds the members back to the required group after the clone is completed.

https://docs.servicenow.com/bundle/sandiego-platform-administration/page/administer/managing-data/co...

This will ensure that groups members are added and any roles pertaining to the group also gets added to the user profile.