Members in a group after XML Import

ServiceNow Use6
Tera Guru

Hi All,

I have exported a group from PROD in XML. This group has 10 members. The same group is available in DEV but has 5 members. I imported the XML in DEV. After import the members are not changing. Is it accurate? Kindly help.

Regards

Suman P.

1 ACCEPTED SOLUTION

Mike_R
Kilo Patron
Kilo Patron

If you exported the group record, it will only bring over the group. 

You'll need to export/import the Group Members as well

 

Mike_R_0-1671035871245.png

 

 

Mike_R_1-1671035885919.png

 

 

View solution in original post

3 REPLIES 3

Michael Fry1
Kilo Patron

If you are just importing the group record, that will not change the Group Members given they are on a different table. Group Members are on the table sys_user_grmember. So you would need to clear the group members in Dev and then import the group members from Prod to have the data in sync.

Mike_R
Kilo Patron
Kilo Patron

If you exported the group record, it will only bring over the group. 

You'll need to export/import the Group Members as well

 

Mike_R_0-1671035871245.png

 

 

Mike_R_1-1671035885919.png

 

 

Sagar Pagar
Tera Patron

Hi @ServiceNow Use6,

Make sure the User sys_id's are same and group sys_id is same.

 

Take a XML import from Group members [sys_user_grmember] table from PROD and import it in DEV instance.

 

Thanks,
Sagar Pagar

The world works with ServiceNow