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

How does this solve his problem? setTimeout itself is not a synchronous function and will not block the main thread?


I agree

Alex Ng
Tera Contributor

Hello all!!



Did anyone has any further updates on this issue? I would not to go for a timeout approach as I feel it is very risky as data grows. Also, if anyone knows if this will be patched in Geneva, that would be helpful as well.



Thank you.


The SN Nerd
Giga Sage
Giga Sage

Your workaround may be to not use best practice and simply to a GlideRecord call.



ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022

This may not always be possible because client-side GlideRecord queries cannot retrieve information secured by ACLs.