wanted to forcefully capture the updates for groups related in the update set,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2025 12:03 AM
hi
we wanted to forcefully capture the updates for groups related in the update set, is there any background script for it to capture updates forcefully? TIA
regards,
Siva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2025 12:17 AM
suggestion -please use this method unless until its really important to capture .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2025 12:20 AM
@Siva_Prasad Refer : https://www.servicenow.com/community/servicenow-ai-platform-forum/how-to-add-scheduled-job-script-in...
The answer explains other approaches as well, use the one suitable to you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2025 04:27 AM
Hi @Siva_Prasad ,
To capture in update set there is attribute update_sync on the system tables like group or gr member. You can set to true and it will capture in update set but not good practice. The group and its related data are considered as data or configuration. Considering your case many group changes happen then there is "add to update" related list on group table or gr member or role using "add to update set" you will be able to add that data to update set and it will make deployment easier.
You can deploy these group changes using export to XML as well. Export only those records which are to be deploy in higher environment then those changes will be available in higher environment. The general best practice is update sets should manage configuration, not business/data records like users or groups.
Thanks,
Bhimashankar H
-------------------------------------------------------------------------------------------------
If my response points you in the right directions, please consider marking it as 'Helpful' & 'Correct'. Thanks!