Timer stop event is not triggered!

Hi folks,

When I stop the timer by using the data method the callback event is not getting triggered as in the start methods.

 client.events.on("ticket.startTimer", timerEvents);
 client.events.on("ticket.stopTimer", timerEvents);

So when I use the below code to start the timer the above event for the start is getting triggered.


But when I use this below code the respective event is not triggered even if it is registered.


Can you please help us with this?

Thank you!

Hello @Bene_Immanuel

As per this doc, can you try to pass a unique id for the timer as param for both the methods?

client.interface.trigger('start', { id: 'uniqueTimer' }, callback1);
client.interface.trigger('stop', { id: 'uniqueTimer' }, callback2);

Let me know if this works!

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.