Question: what is getxml in servicenow?
Answer: GlideAjax. The GlideAjax class enables a client script to call server-side code in a script include. ... Execute the server-side code by calling getXML(). Note: getXML() is the preferred method for executing the code, because it is asynchronous and does not hold up the execution of other client code.