Issue
Support for synchronous calls from within Service Portal using methods like getXMLWait()
Symptoms
Service Portal currently does not support synchronous methods such as getXmlWait(), that if supported, can potentially be called via AJAX calls from catalog client scripts that can call script includes.
This prevents implementing functionality in Service Portal like in the native platform, for example in Submit events, which is a requirement under many use cases.
Release
- Istanbul, Jakarta, Kingston
Environment
- Service Portal
Cause
- Currently not supported
Resolution
- Synchronous calls from within Service Portal using methods such as getXmlWait() is not currently supported
- Submitted Enhancement Request FTASK35450 so that Development will consider supporting this in future releases
Additional Information
- https://community.servicenow.com/thread/234270 (in particular, Scott L and Jesse Adam's updates may be of interest)
- https://docs.servicenow.com/csh?topicname=t_CreateAScriptedRESTService.html&version=latest
- https://community.servicenow.com/thread/281203
- https://community.servicenow.com/thread/278037
- https://community.servicenow.com/thread/263184