Send custom events to the client

(Marcos Alcantara) #1

Hi,

We need to be able to respond to certain events on the client side but right now, the only event we can listen to on FxoMessenger is ‘messageReceived’. How can we send other types of events from the server when certain criteria is met?

Thanks,
Marcos

(Nathan Stults) #2

You may be able to achieve what you want by using a Send a Custom Request task, which can execute arbitrary Java Script on the client. See this sample flow:

(Marcos Alcantara) #3

Thats sorted it. Thanks for the info.

I’m not sure if it was me or I couldn’t find it on the documentation. Could be good to check if that option exists on the guides.

Thank you,
Marcos