#websocket

How to populate a Table Widget in Bonita 7.4.2 from a REST API Call?

I am a newbie at using Bonita for the automation of a customer onboarding process and wish to display the customers from REST API call which is powered by MySQL Server.

Currently, my approach is to bind the content of the table to a variable that contains JavaScript code to make the REST API call and return the response.

When I try to execute the form with this approach, it gives me the following error:
Uncaught DOMException: Failed to construct 'WebSocket': The URL 'wsockets/254/4v399h8_/websocket' is invalid.

Websockets and Bonita

It's possible to use websockects to send information about the state of the workflow to make an interface react?

Example:
A process that catches events of 5 participants voting and I wanted to send, when all voted, a typified message through a websocket that is listening on the other application (back-end or front-end).

Note:
The interface and application referred above aren't the default Bonita portal.

Anyone has already tried this?
Is there any alternative on the API that you know of?

Thanks,
Makrea

Notifications