call a microflow using java script.

0
I have webshocket url. 1.how to use the webshocket url in java script ? 2.how to use that java script in microflow call ?  3.how to link that java script with webshocket url in respected buttons i need ?
asked
2 answers
0

There are a couple of modules using websockets in the appstore like websockets pushez websockets and websocket module which you can directly use or inspect the javascript code in the widget or nanoflows.

 

Also code to create typescript in a nanoflow can be googled like Working with Websockets

 

 

answered
0

Websockets using JavaScript work in the client, so are running in the browser. We can use Nanoflows to interact with JavaScript using JavaScript Actions.

 

Microflows run on the server and can't talk to JavaScript in the client directly.

 

However, you can use Nanoflows to talk to both Websockets and Microflows. 

 

Good luck! 

answered