- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2025 02:34 PM - edited 05-15-2025 02:36 PM
I have this main group that I created a few weeks ago. I then created a second group that inherits from the parent group, broken down by Campus/Site. See two screenshots below.
I want to change the name of the secondary child group, but I can't update the name from there because the parent created the group name.
I drill into the parent and change the name from there.
The child name is not getting updated.
Deleting the groups and starting over with a fresh sys_id is not a solution because I'm to far into the project about to go live so I'm not going to recreate the groups. I just want to change the child group to reflect the new name of the parent.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2025 07:46 AM - edited 05-16-2025 07:46 AM
I found a much easier solution, and will leave this up to help out the next developer.
- Drill into the parent group.
- Click on the Groups tab.
- Change the name directly in the list view.
I'm surprised I got working like this, but it works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2025 09:46 PM - edited 05-15-2025 09:53 PM
Hi @dmullinax, the secondary child group name seems to modified at the time it has been created. Have you try to change the name by script?
var current = new GlideRecord("sys_user_group");
if (current.get("<the_secondary_group_sys_id>")){
current.setValue("name", "<new_name>");
current.update();
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2025 07:46 AM - edited 05-16-2025 07:46 AM
I found a much easier solution, and will leave this up to help out the next developer.
- Drill into the parent group.
- Click on the Groups tab.
- Change the name directly in the list view.
I'm surprised I got working like this, but it works.