Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
4654 Visualizzazioni

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.

Avatar
Abbandona
Risposta migliore




Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
ago 25
386
2
lug 25
565
1
lug 25
512
2
lug 25
540
1
giu 25
532