canderson
November 22

I have a situation that is causing me some problems because of some intermittently missing notifications.

I have a queue which has a group added to it. Membership in the queue is managed by adding and removing users from the group. I've subscribed to the "v2.routing.queues.{id}.users" topic for this queue so I will receive notifications when users join or leave the queue.

What I see when I test this in the dev tools is that when I add a user to the group, I will receive two notifications that look like this:

 {
  "id": "{userid}",
  "user": {
    "id": "{userid}"
  },
  "queueId": "{queueid}",
  "additionalProperties": {}
}
 {
  "id": "{userid}",
  "user": {
    "id": "{userid}"
  },
  "queueId": "{queueid}",
  "joined": true,
  "additionalProperties": {}
}

Notice one of them has the "joined" attribute, and one of them doesn't.

When I remove the user from the group, I will sometimes get both notifications, but sometimes I will only get the one that doesn't include the "joined" attribute. With that, the notification doesn't tell me if the user has joined or left. This is intermittent. Earlier today I was reliably missing the notification that included the "joined" attribute. While testing just now, I'm seeing both notifications come through and I am unable to reproduce the issue.

I will continue testing this to see if I can reproduce the issue again and capture the Correlation IDs of the notifications.

This is causing a problem for us because we are trying to have data in our database match what Genesys Cloud shows as far as queue membership. I need to know when users are added to or removed from a queue.


Visit Topic to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, click here.