The CreatorCon Call for Content is officially open! Get started here.

onChange script error: TypeError: Cannot read properties of undefined

Jieun Jeong
Giga Contributor

Hi, I have not modified the client script related to the Software Entitlement, and this error occurs.

Does anyone know why it's happening? Could it be a system or plug-in version problem?

find_real_file.png

2 REPLIES 2

Harish KM
Kilo Patron
Kilo Patron

HI the issue is with one of your client script looking for getTotalcost and gettime span. you might need to find which client script has these lines. IT says values are undefined. so there is a script which does this calculation 

Regards
Harish

MrMuhammad
Giga Sage

Hey,

Have you modified the form layout to hide any field? This could happen because of missing field on the form that is being used in one of your client script.

Please see below the KB article that has something similar to this.

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0856441

Regards,

Muhammad

Regards,
Muhammad