Empty Groups are getting created

geet
Tera Guru

Hi All,

Groups with empty name are getting created. Below is the screenshot.

find_real_file.png

Can anyone suggest why it is happening.

Regards,

Geet

 

8 REPLIES 8

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.

Ct111
Tera Sage

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

Shweta KHAJAPUR
Tera Guru

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.

Chalan B L
Giga Guru

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