Group manager update

Ankitha4
Tera Contributor

Can anyone help me how can we update the group manager of a group in sys_user_group table for multiple.records using script

6 REPLIES 6

Robbie
Kilo Patron
Kilo Patron

Hi @Ankitha4,

 

Depending on the number and complexity of changes, it may actually be easier to update the records via the list view:

Screenshot 2024-08-12 at 10.10.34.png

 

Check the below link, and also know you can select record by the checkbox at the start of the row as well and us the 'Update all selected' option in the table menu (by right clicking on of the table headers)

Do you still need a scirpt of can you  update using 'Update Multiple Record'?

 

https://docs.servicenow.com/bundle/tokyo-platform-user-interface/page/use/using-lists/task/t_EditMul...

 

To help others (or for me to help you more directly), please mark this response correct by clicking on Accept as Solution and/or Kudos.



Thanks, Robbie

Ayushi12
Mega Sage

Hi @Ankitha4 
I would suggest to update the managers manually because as per the requirement it is one time update with different group managers. In case the number of records are more you can also import the data using transform map.
Docs: https://docs.servicenow.com/bundle/xanadu-integrate-applications/page/script/server-scripting/concep...

If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful."

Thanks!