Client Script Error

rutujalande
Tera Contributor

I am getting below error when submitting the catalog item request on the RITM Page on the requested for field.

 

onChange script error: TypeError: Cannot read properties of undefined (reading 'process') function(control, oldValue, newValue, isLoading) { window.CatalogDynamicValue.process(control, oldValue, newValue, isLoading, '130185880fa17500dcc800dce1050e09', '["d9646b46db5fc25085397856f3961964"]', false); }

10 REPLIES 10

Hello @rutujalande ,

 

Does get same error on native or portal ui also for that variable ?

And have you check that Applied on requested item checkbox ?

Hello,

 

Does get same error on native or portal ui also for that variable ? yes

checked with the requested item checkbox still same error on RITM.

Bhavya11
Kilo Patron

Hi @rutujalande ,

 

This issue occurs when one of your onChange client scripts is unable to read a field on the form. Please check which onChange client script is causing the problem.

In that script, verify whether there are any fields that the script cannot access, possibly because the fields are not available on the form.

You can refer to the following support article for a similar issue:

 

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

If this information proves useful, kindly mark it as helpful or accepted solution.

Thanks,
BK

Hello@Bhavya11,

 

Checked with the error but still found same error on the RITM

Venky Kshatriy2
Mega Sage

I've noted that you're encountering an error in the client script. To automatically populate the manager value, please consider using the Auto Populate option.

VenkyKshatriy2_0-1779176244137.png

When your getting error onload or onchange