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.

Access to getXMLWait is not available in scoped applications , what is workaround ?

nthumma
Giga Guru

I am trying to query related list on submit and i am getting 'Access to getXMLWait is not available in scoped applications' infomessage on the form.

I am trying to do something similar to Make entry in related list mandatory

any workarounds?

25 REPLIES 25

dhasselquist
Mega Guru

In experimenting a little I found that you can create a On Submit (catalog) client script in the global scope that applies to a scoped application's record producer. There we have access to getXMLWait().


balsu333
Mega Expert

Not yet Found??



I really need this...


Did you try my earlier post?



"In experimenting a little I found that you can create a On Submit (catalog) client script in the global scope that applies to a scoped application's record producer. There we have access to getXMLWait()."


No. I want to apply this on a form.


Yes, it's a bit of a work around.



You need to create your On Submit client script in the global scope, but apply it to your scoped application's table. You can use getXMLWait() normally there.



Am I not understanding your requirement correctly?