Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
4644 Widoki

Hello,

I need to send a message to the web client and wait for response in middle of a workflow action. Could It be possible?

context: I developed a fiscal printer driver in client side using javascript. To validate an invoice, I need to print the ticket and wait for the printer response to confirm the invoice. How could I do that? I try to use the web controller, but I can't image how to use it to send a request and wait for a response. The client can use the EventSource object to wait for requests, but I don't know how to control this from the server side.

Awatar
Odrzuć
Najlepsza odpowiedź




Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
sie 25
355
2
lip 25
524
1
lip 25
475
2
lip 25
501
1
cze 25
497