- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-20-2022 02:56 AM
I used Glide Ajax and Script Include.
No error has occurred, but when I check the Javascript log, the following WARNING message is displayed.
on Load
- *** WARNING *** GlideAjax.getXMLWait - synchronous function - processor: UserPreference
When entering a value in a field
- *** WARNING *** GlideAjax.getXMLWait - synchronous function - processor: FormStateAjax
Thank you!
Solved! Go to Solution.
- Labels:
-
Script Debugger
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-20-2022 03:10 AM
You can change the getXMLWait to getXML as getXMLWait is a synchronous query which holds the user to get control of the form before it fetches result from server. So it is always best practice to use getXML().
You can learn more about getXML and getXMLWait in below thread:
What is getXML() and getXMLWait()? - Developer Community - Question - ServiceNow Community
Please mark this correct and helpful if it solved your query and helped you.
Thanks,
Mohit Kaushik
Mohit Kaushik
ServiceNow MVP (2023-2025)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-20-2022 03:10 AM
You can change the getXMLWait to getXML as getXMLWait is a synchronous query which holds the user to get control of the form before it fetches result from server. So it is always best practice to use getXML().
You can learn more about getXML and getXMLWait in below thread:
What is getXML() and getXMLWait()? - Developer Community - Question - ServiceNow Community
Please mark this correct and helpful if it solved your query and helped you.
Thanks,
Mohit Kaushik
Mohit Kaushik
ServiceNow MVP (2023-2025)