ServiceNow assignment Group Name Change

ArunG29061990
Tera Expert

Hi All, 

 

I want to rename the current assignment groups but first I want to change it in Dev environment so that with the help of "Local Update Set", I can record the changes and same can be pushed towards Test & Production environments with same local update set.

 

I already created a local Update set and also make it current but when I am rename the group name from "User Administration - Groups", I can't see any update entry under local update set and i also can't see "Add to update set" command on group page where I am changing the name. 

 

So can anyone please help to resolve this issue? 

1 ACCEPTED SOLUTION

Hi @ArunG29061990 ,

Update the group name in prod or dev and take the xml of it and import into all the other instance

ChaitanyaILCR_0-1749187255558.png

ChaitanyaILCR_1-1749187372251.png

 

 

 

or

 

update the group name manually in all the other instance 

 

I would say just update the group name manually if you don't have access to take the xml

why to complicate things 😊

 

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya

View solution in original post

5 REPLIES 5

Chaitanya ILCR
Kilo Patron

Hi @ArunG29061990 ,

run this script in the BackGround Script by replacing with your group sysid

var current = new GlideRecord("sys_user_group");
if (current.get("PUT your group sysid here")){ //replace this with your group sysid
    gs.info(current.getDisplayValue());
}
var updateManager = new GlideUpdateManager2(); 
updateManager.saveRecord(current); 

 

groups won't get captured in the update set automatically 

only the table with update_synch attribute enabled will be captured in the update set

you have to add the groups to update set manually

 

run the above script it'll be captured

 

or 

 

take the XML from once instance and import it into other instances 

 

 

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya

 

 

Thanks for the quick reply @Chaitanya ILCR 

I actually don't have access to run the script, I can make the changes through UI only so is there any other way to change the groups? 

Hi @ArunG29061990 ,

Update the group name in prod or dev and take the xml of it and import into all the other instance

ChaitanyaILCR_0-1749187255558.png

ChaitanyaILCR_1-1749187372251.png

 

 

 

or

 

update the group name manually in all the other instance 

 

I would say just update the group name manually if you don't have access to take the xml

why to complicate things 😊

 

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya

ArunG29061990
Tera Expert

Great, I like it 🙂