<h2>Support for synchronous calls from within Service Portal using methods like getXMLWait()</h2><br/><div style="overflow-x:auto"><article><div ><h3 >Description</h3><section><style type="text/css"><!-- div.margin{ padding: 10px 40px 40px 30px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internaltable { white-space:nowrap; text-align:left; border-width: 1px; border-collapse: collapse; font-size:14px; width: 85%; } table.internaltable th { border-width: 1px; padding: 5px; border-style: solid; border-color: rgb(245, 245, 245); background-color: rgb(245, 245, 245); } table.internaltable td { border-width: 1px; padding: 5px; border-style: solid; border-color: #E0E0E0; color: #000000; } .title { color: #D1232B; font-weight:normal; font-size:28px; } h1{ color: #D1232B; font-weight:normal; font-size:21px; margin-bottom:-5px } h2{ color: #646464; font-weight:bold; font-size:18px; } h3{ color: #000000; font-weight:BOLD; font-size:16px; text-decoration:underline; } h4{ color: #646464; font-weight:BOLD; font-size:15px; text-decoration:; } h5{ color: #000000; font-weight:BOLD; font-size:13px; text-decoration:; } h6{ color: #000000; font-weight:BOLD; font-size:14px; text-decoration:; } ul{ list-style: disc outside none; margin-left: 0; } li { padding-left: 1em; } --></style> <style type="text/css"><!-- p.p1 {margin: 0.0px 0.0px 28.0px 0.0px; line-height: 34.0px; font: 28.0px Verdana; color: #d1232b; -webkit-text-stroke: #d1232b; background-color: #ffffff} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 13.0px; font: 11.0px Verdana; color: #000000; -webkit-text-stroke: #000000; background-color: #ffffff; min-height: 13.0px} p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 25.0px; font: 21.0px Verdana; color: #d1232b; -webkit-text-stroke: #d1232b; background-color: #ffffff} p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 25.0px; font: 14.0px Verdana; color: #000000; -webkit-text-stroke: #d1232b; background-color: #ffffff} p.p5 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 25.0px; font: 14.0px Verdana; color: #000000; -webkit-text-stroke: #d1232b; background-color: #ffffff; min-height: 17.0px} p.p6 {margin: 0.0px 0.0px 5.5px 0.0px; line-height: 13.0px; font: 11.0px Verdana; color: #000000; -webkit-text-stroke: #000000; background-color: #ffffff; min-height: 13.0px} p.p7 {margin: 0.0px 0.0px 11.0px 0.0px; line-height: 13.0px; font: 14.0px Verdana; color: #000000; -webkit-text-stroke: #000000; background-color: #ffffff} p.p8 {margin: 0.0px 0.0px 11.0px 0.0px; line-height: 13.0px; font: 11.0px Verdana; color: #000000; -webkit-text-stroke: #000000; background-color: #ffffff; min-height: 13.0px} p.p9 {margin: 0.0px 0.0px 11.0px 0.0px; line-height: 13.0px; font: 21.0px Verdana; color: #d1232b; -webkit-text-stroke: #d1232b; background-color: #ffffff} p.p10 {margin: 0.0px 0.0px 5.5px 0.0px; line-height: 13.0px; font: 14.0px Verdana; color: #000000; -webkit-text-stroke: #000000; background-color: #ffffff} li.li11 {margin: 0.0px 0.0px 11.0px 0.0px; line-height: 13.0px; font: 11.0px Verdana; color: #000000; -webkit-text-stroke: #000000; background-color: #ffffff} span.s1 {font-kerning: none} span.s2 {font-kerning: none; color: #646464; -webkit-text-stroke: 0px #646464} ol.ol1 {list-style-type: decimal} ul.ul1 {list-style-type: square} --></style> <div class="margin"> <p class="p1"><span class="s1">Support for synchronous calls from within Service Portal using methods like getXMLWait()</span></p> <p class="p2"> </p> <p class="p2"> </p> <p class="p3"><span class="s1">Symptoms</span></p> <p class="p4"><span class="s1">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. </span></p> <p class="p5"> </p> <p class="p4"><span class="s1">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.</span></p> <p class="p6"> </p> <p class="p3"><span class="s1">Release</span></p> <p class="p6"> </p> <ul style="list-style-position: inside;"><li class="p7"><span class="s1">Istanbul, Jakarta, Kingston</span></li></ul> <p class="p8"> </p> <p class="p9"><span class="s1">Environment</span></p> <p class="p6"> </p> <ul style="list-style-position: inside;"><li class="p7"><span class="s1">Service Portal</span></li></ul> <p class="p8"> </p> <p class="p9"><span class="s1">Cause</span></p> <ul style="list-style-position: inside;"><li class="p10"><span class="s1">Currently not supported</span></li></ul> <p class="p6"> </p> <p class="p3"><span class="s1">Resolution</span></p> <p class="p6"> </p> <ol class="ol1" style="list-style-position: inside;"><li class="li11">Synchronous calls from within Service Portal using methods such as getXmlWait() is not currently supported</li><li class="li11">Submitted Enhancement Request FTASK35450 so that Development will consider supporting this in future releases</li></ol> <p class="p8"> </p> <p class="p3"><span class="s1">Additional Information</span></p> <p class="p6"> </p> <ul class="ul1" style="list-style-position: inside;"><li class="li11"><a href="https://community.servicenow.com/thread/234270" rel="nofollow">https://community.servicenow.com/thread/234270</a> (in particular, Scott L and Jesse Adam's updates may be of interest)<span class="Apple-converted-space"> </span></li><li class="li11"><a href="https://docs.servicenow.com/csh?topicname=t_CreateAScriptedRESTService.html&version=latest" rel="nofollow">https://docs.servicenow.com/csh?topicname=t_CreateAScriptedRESTService.html&version=latest</a><span class="Apple-converted-space"> </span></li><li class="li11"><a href="https://community.servicenow.com/thread/281203" rel="nofollow">https://community.servicenow.com/thread/281203</a><span class="Apple-converted-space"> </span></li><li class="li11"><a href="https://community.servicenow.com/thread/278037" rel="nofollow">https://community.servicenow.com/thread/278037</a><span class="Apple-converted-space"> </span></li><li class="li11"><a href="https://community.servicenow.com/thread/263184" rel="nofollow">https://community.servicenow.com/thread/263184</a><span class="Apple-converted-space"> </span></li></ul> </div></section></div></article></div>