Adding a role to a group is not captured by the update set. How to fix it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2025 05:17 AM
Is there a way to make the role getting added to a group get captured in the update set. Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2025 05:21 AM
Hi @Med99
Ideally, roles and groups are foundational data and not captured in update sets OOTB. You can try to add or move them using XML instead.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2025 05:32 AM
By default, adding a role to a group is not automatically included in an update set.
But you can use the "Add to Update Set Utility," available on the ServiceNow, to manually add group and role changes to an update set. This tool helps include data records that are usually not captured by default.
If you find this solution solves your query, please click on ' accept solution' and if you find this answer valuable, show your support by clicking the 'helpful' button.
Thankyou
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2025 05:34 AM - edited ‎07-03-2025 05:38 AM
Hi @Med99,
Roles and Groups do not get captured in an update set, you can take XML of Role and Group records and move them to higher instances so that the sys ids are retained. You will need to manually add Role to the Group in next instance.
If you are doing this in PDI and not organization instance, you can use this Utility to capture any records in Update set:
Do not use this in Organization instance without higher approval.
Regards,
Ehab Pilloor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2025 06:34 AM
Adding role to user, group is part of data management and is not captured in an update set.
Please do this activity manually in the target instance
OR
You can export the XML from sys_group_has_role table and then import in target instance (Note group and role should be present in target instance before you do this)
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