How to copy a role
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2020 05:39 AM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2020 05:42 AM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2020 05:42 AM
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_ .
once you will export the xml and then you can import back to sys_user_role table.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2020 05:47 AM
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".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2020 06:04 AM
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!