How to update Roles of existing Group between instances

haruna naka
Tera Contributor

I have two instances and I'm struggling to migrate "Roles of existing Group" that another instance created xml to the other.

If someone knows, please let me know.

Thanks.

1 ACCEPTED SOLUTION

Sagar Pagar
Tera Patron

Hi,

 

If you have same group sys_id and Roles sys_id, then you can migrate Export it from Group Roles [sys_group_has_role] table and import it in another instance.

 

If not have sys_id, then update it manually.

 

Thanks,

Sagar Pagar

The world works with ServiceNow

View solution in original post

5 REPLIES 5

Jaspal Singh
Mega Patron
Mega Patron

Did you try exporting the XML records by navigating to Group Role (Sys_group_has_role) table?

You need to export & then import in target instance as it will not be captured in Update Sets.

I didn't export Group Role (Sys_group_has_role) table.

I'll try it.Thanks!

@haruna naka I see you marked both responses correct but you can have only one marked correct per thread. Suggest you to mark one that helped in no time with quick resolution.

Sagar Pagar
Tera Patron

Hi,

 

If you have same group sys_id and Roles sys_id, then you can migrate Export it from Group Roles [sys_group_has_role] table and import it in another instance.

 

If not have sys_id, then update it manually.

 

Thanks,

Sagar Pagar

The world works with ServiceNow