Incidents generated by client has a "undefined" as short description

Andrea Corona
Kilo Contributor

Hi Everybody 

 

Hope you're doing well. I'm requesting your help to resolve the next issue: When I generate a incident, this one is generated with "undefined" as short description. Here is a screenshot: 

find_real_file.png

 

Can you help me please? 

 

Regards

 

4 REPLIES 4

Maik Skoddow
Tera Patron
Tera Patron

Hi

without any more details it is impossible to help you, as the reasons are endless.

Who generates these incidents and how?

Please provide as many as possible details so we can understand you better and help accordingly.

Kind regards
Maik

Anshu_Anand_
Kilo Sage
Kilo Sage

Need some info how you creating incidents?

When you create a new incident, start the script tracer debugging available in

System Diagnostics -> Script tracer.

It will show the list of scripts running when a new incident will be created.

Hope its helpful

Regards,
Anshu

VaranAwesomenow
Mega Sage

One reason could be there is a string concatenation that is getting assigned to short_description in the script / UI action that is creating incident.

It might look like below

grInc.short_description = grCase.summary + "" ;

and if grCase.summary is not defined then short description will take a value of undefined.

Fix. Remove +"" from the script and just leave it as 

grInc.short_description = grCase.summary;

JANAlearnNow_23
Tera Contributor

Hai Team,

In my dev239885 instance in info message getting Undefined after INC number AND

after searching the "Script Trace " and open in new tab showing "about:blank#blocked" how to unblock

 

Thanks & Regards

Janadev239885