Script: not found in scope: global, and HTTP Processor class not found error

Pragati Ajanalk
ServiceNow Employee
ServiceNow Employee

Hi,

 

GlideAjax call is throwing an error Script: not found in scope: global error. Making this call from UI action client script.

https://k8s0639010-node1.thunder.devsnc.com/now/nav/ui/classic/params/target/sys_ui_action.do%3Fsys_...

1 REPLY 1

Mr_X
Mega Guru

Hi @Pragati Ajanalk ,

 

Use below code in callback function.

 

 

function callback(response) {  
   var answer = response.responseXML.documentElement.getAttribute("answer"); 
    alert(answer);
}

 

 

gs.info() doesn't work in client script.

 

Mark it as helpful if my solution works & don't forget to hit the thumbs up button!