Can we use websocket in ServiceNow?

Priya116
Giga Contributor

I am using websocket protocol for one of my requirements where I need to poll server instantly for data. But I am not able to receive data from server. This article says that websocket is not supported in ServiceNow.

Has anyone implemented websocket in ServiceNow? Is there any alternative to it ?

1 ACCEPTED SOLUTION

Noah Drew
ServiceNow Employee
ServiceNow Employee

Hello Priya!

It appears that WebSockets are now supported in Madrid.

Take a look at the Madrid Release Notes under the Import and Export section:

https://docs.servicenow.com/bundle/madrid-release-notes/page/release-notes/summary/rn-summary-new-fe...

It states:

WebSockets are turned on by default. WebSockets connections may be limited by your network configuration. You can check your browser's compatibility by entering the following URL (you do not have to be logged on to an instance): https://yourinstance.service-now.com/$websocket_test.do.

Hope that helps!

If it did, please mark as Helpful and consider setting the reply as the Correct Answer to the question, thanks!

View solution in original post

2 REPLIES 2

Noah Drew
ServiceNow Employee
ServiceNow Employee

Hello Priya!

It appears that WebSockets are now supported in Madrid.

Take a look at the Madrid Release Notes under the Import and Export section:

https://docs.servicenow.com/bundle/madrid-release-notes/page/release-notes/summary/rn-summary-new-fe...

It states:

WebSockets are turned on by default. WebSockets connections may be limited by your network configuration. You can check your browser's compatibility by entering the following URL (you do not have to be logged on to an instance): https://yourinstance.service-now.com/$websocket_test.do.

Hope that helps!

If it did, please mark as Helpful and consider setting the reply as the Correct Answer to the question, thanks!

Hello @Noah Drew and @Priya116  I also want to use WebSocket in ServiceNow. Could you please help me