cancel
Showing results for 
Search instead for 
Did you mean: 
The Zoom Community will be placed in read-only mode January 9th, 2026 through January 22nd, 2026 to deliver you a new and improved community experience!

The community will still be accessible, however, the creation of any new discussions or replies will be temporarily unavailable. We appreciate your patience during this time.

Webhook events are not emitted in correct order in few cases

amp1008
Newcomer
Newcomer

We rely on webhook events to derive the number of calls waiting in the queue and show that information live as part of our dashboard.
However, on 11th September, we encountered a strange issue: the events were not emitted in order, resulting in incorrect calls waiting in the queue.

 

Please refer to the below events with the engagement ID. The timestamp is in PST.

  1. In this case, canceled event was emitted before the created event. How can task cancelled event be emitted before the task created event? The difference is 25 mins.
    contact_center.task_canceled, engagementID - -swBjBayTY6qn-nrSyP98A, queue - <queue_name> {"timestamp":"2024-09-11 09:22:53"}

contact_center.task_created, engagementID - -swBjBayTY6qn-nrSyP98A, queue - <queue_name> {"timestamp":"2024-09-11 09:47:53"}

2. In this case, the call was an outbound call. We received engagement started event 25 mins after the task created/reservation accepted event. Why was the engagement started event emitted at the start of the engagement?
contact_center.task_reservation_accepted, engagementID - bcwqoBh3SFKJQftnwRbSkQ, queue - <queue_name> {"timestamp":"2024-09-11 09:32:26"}

contact_center.task_created, engagementID - bcwqoBh3SFKJQftnwRbSkQ, queue - <queue_name> {"timestamp":"2024-09-11 09:32:27"}

contact_center.engagement_started, engagementID - bcwqoBh3SFKJQftnwRbSkQ

{"timestamp":"2024-09-11 09:57:32"}

0 REPLIES 0