Illegal access to outbound HTTP in (scoped application). Use an async business rule to perform outbound HTTP requests.

Jayaraj
Tera Contributor

Illegal access to outbound HTTP in (scoped application). Use an async business rule to perform outbound HTTP requests.
i have attempted by testing executeAsync, but same error again.

It was working fine and getting 200 response from in rest explorer where as when connect from sernvicenow applciation the above error occurs.

I checked the community but i didnot get right answer to this issue.

please help on this.

Regards,
Jayaraj

7 REPLIES 7

Rajeev Jayaswal
ServiceNow Employee
ServiceNow Employee

Adding following code in my BR worked for:

var response = r.executeAsync();
response.waitForResponse(10);

I am using after BR.

It did the trick for me, thanks!

 

It Worked.
Thanks...