Empty Groups are getting created
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2018 09:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2018 12:10 AM
This BR has below code
gs.log("We found issue 1");
ag.update();
gs.log("We found issue 2");
i put logs in this BR and tested it, this is the one which is creating group with empty name and when i deactivate it, it doesn't create a group.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2018 09:50 PM
Hi,
Check whether the script which is creating groups have a name variable assigned to something or not
var gr = new GlideRecord("sys_user_group");
gr.initialize();
gr.name = current.variables.group_name; // LIKE this else it will be empty if missed
gr.description = current.variables.group_description;
var sys_id = gr.insert();
Mark my ANSWER as CORRECT and HELPFUL if it helped
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2018 09:58 PM
Hi Geet,
If ypu see the updated time then it's around 30 min diff between each entry. you can check for some scheduled job.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2018 12:27 AM
Hello Geet,
Just sort by z to a --> Updated
Observe the difference
check the schedule script execution[sysauto_script.LIST] -- filter -- run this script contains "sys_user_group" and run this script contains "insert"
Also check the Updated By --> this will let you know who is updating the record and check what all roles the updated by user has.. if he is having some kind of rest/soap roles also check the soap/rest integrations
Mark the answer as correct and helpful, if it helped you..!!!
Regards,
Chalan