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.

Unable to create Notification

samadam
Kilo Sage

I am trying to create a notification and getting this error:

onSubmit script error: TypeError: Cannot read properties of undefined (reading 'options'):

function() {
      var hinput = $(ref);
      var cfilter = getFilter(ref);
      hinput.value = unescape(cfilter);
      CustomEvent.fire("sys_mapping:on_cond_submit::" + ref, { value: hinput.value, ref: ref });
     }

It suddenly started any ideas on how to resolve?

2 REPLIES 2

samadam
Kilo Sage

I tried chrome in incognito mode, cleared cache and tried edge as well. Nothing helped. 

HIROSHI SATOH
Mega Sage

If you can identify where ref is coming from and ensure it's properly initialized, this should resolve the issue.