wanted to forcefully capture the updates for groups related in the update set,

Siva_Prasad
Tera Contributor

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.

 

3 REPLIES 3

ChallaR
Giga Guru

suggestion -please use this method unless until its really important to capture .

Raghav Sharma24
Giga Patron

@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.

Bhimashankar H
Mega Sage

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!