How to copy a role

Steve42
Tera Expert

I am trying to setup the roles in New York instance we have from a Madrid instance we have.  How can I export and import the roles from one instance to another?

 

Any insight, help, documentation would be wonderful

Thanks in advance

6 REPLIES 6

Mark Roethof
Tera Patron
Tera Patron

Hi there,

Multiple possibilities, though one would be to open the sys_user_role list, check the list(s) you are after, and under the Actions on selected rows select "Create application file". With this it's fetched into your Update Set.

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

Kind regards,
Mark

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

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

LinkedIn

Harsh Vardhan
Giga Patron

you can export that role record xml from sys_user_role table and then import those xml file into your target instance. 

 

you can apply filter condition here to get the list of roles record and then export it. 

eg: i want my custom role to export which start from u_ .

 

find_real_file.png

 

once you will export the xml and then you can import back to sys_user_role table. 

 

 

Chuck Tomasi
Tera Patron

I invite you to watch Episode 71 of TechNow where we talk about the many ways to move code and data across instances. In this one use case, roles are considered "data".

TechNow Episode List

Thank you for the list Chuck, I have been looking for that and every once in a while totally forget where it's at.  Much appreciated!

Keep up the awesome work!