Automation to sync user, group and role from Production to Lower Instances
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2025 06:13 PM
Hi i have a requirement to automate user, group and roles from production to lower instance so that the syncing will be done automatically rather than export and import or manually adding the roles, Any ideas on how to achieve this through automation?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2025 07:49 PM
Once that you run the code, you can see the file in sys_attachment table
In the lower instance you create a transform map. Use the coalesce true for each field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2025 08:03 PM
what's the business use-case to sync user, group and roles from prod to lower instance?
Why not perform cloning from Prod to lower instance after you go-live?
that's what usual practice everybody follows.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2025 04:56 PM
Hi, we want to automate the request of users periodically to add roles/users/groups. We can't just always clone instances. As of now we doing it manually as per the request of the user