Modification of group ID for a particular group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2024 11:41 PM
Is it possible to modify the group ID of a particular group which is created
It was required to add prefix Dev# and for test as Test#
From AGID000000000171425 --> DEV#AGID000000000171425
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2024 11:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2024 01:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2024 01:14 AM
Hi @Mayuri1711
Yes, you can change the name of the group without any issue but make sure this group name is not hardcoded any where in code else it will create issue.
It will has no impact on sysid.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2024 01:35 AM
Hi @Mayuri1711
How are you currently setting the group ID?
If you want to fix this, you can just write a fix script and do it for your groups
Var groupGR = new GlideRecord("your_table_name");
groupGR.addEncodedQuery("write your encodedquery for which you want to chnage the group id");
groupGR.query();
while(groupGR.next()){
groupGR.group_id = "Dev#"+groupGR.group_id;// validate your field name
groupGR.update();
}
Aman Kumar