Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Getting below error on portal

Sonali01
Tera Contributor

When I open the demand form on draft or submitted state on the service portal I get the below error.
It's happening in Dev and QA.

Sonali01_0-1712867587764.png

Thanks for your  help in advance

9 REPLIES 9

jMarshal
Mega Sage

Probably using an unsupported method in a client script or ui policy script. Have a look at the custom scripts you have on the dmn_demand table.

https://your-instance-name.service-now.com/now/nav/ui/classic/params/target/dmn_demand_list.do%3Fsysparm_fixed_query%3Dsys_class_name%253Ddmn_demand 


Sure, will check .
Thanks

Hello Marshal,
On IE when I did expect elements it gave me the below messages, do you thing its something related to Javascript error ?

Sonali01_0-1712925967006.png

Thanks

Yes. The script which is likely "causing" the browser error - a UI Policy called "Show parent field on demand Screen only to SN_Demand Admins and SN_Admin groups". Specifically, it is having trouble calling a function called "getChannelRW". However, know that it may not be the script itself, but something in the browser not handling it appropriately -- "it takes 2 to tango", so to speak. Check if it works in any browser, perhaps?...Either way, that's where I'd start, if I were you! GL! 🙂