Legacy Dev Forum Posts

 View Only

Sign Up

About QueueMembershipChangedEvent for add and remove will no longer include a “joined” flag

  • 1.  About QueueMembershipChangedEvent for add and remove will no longer include a “joined” flag

    Posted 06-05-2025 18:14

    Poulain_Mathieu | 2018-12-05 02:40:45 UTC | #1

    About the recent announcement for QueueMembershipChangedEvent for add and remove will no longer include a “joined” flag, could you please post detailed examples about the messages sent today and the new messages after the change? We would like to make sure we interpret correctly the sentence: "note however that every add also produces an update message, which will include the correct "joined" value."


    SethAtGenesys | 2018-12-05 16:07:30 UTC | #2

    these are the new notifications generated when adding a user to a queue. first there you get an add notification:

    {
     "id": "913ae9f3-3793-4dd6-b0dd-57fd73403e5f",
     "queueId": "14bded69-b861-412a-b651-510b0fe6bbab",
     "additionalProperties": {}
    }

    then a join notification:

    {
     "id": "913ae9f3-3793-4dd6-b0dd-57fd73403e5f",
     "queueId": "14bded69-b861-412a-b651-510b0fe6bbab",
     "joined": true,
     "additionalProperties": {}
    }

    what changed is that the add notification no longer contains a joined flag. the order of notifications has also changed, from users [joined, unjoined, added, deleted] to users [added, joined, unjoined, deleted]. this is a more intuitive ordering.

    "note however that every add also produces an update message, which will include the correct "joined" value": this means that whenever you add a user to a queue you will get both the user-add notification and the user-joined notification. the add notification won't include a joined flag but the user-joined notification will. that flag's value may be true or false.

    hope this covers your questions.

    Seth


    Poulain_Mathieu | 2018-12-10 06:22:07 UTC | #3

    Hi Seth,

    Thank you for the detailed explanation. Can you please give us the exact date of release of the change? Thanks,

    Mathieu


    SethAtGenesys | 2018-12-10 16:49:37 UTC | #4

    hi Mathieu - I don't have an exact release date right now but it looks like it'll be deployed this week. perhaps as soon as tomorrow.

    Seth


    SethAtGenesys | 2018-12-11 14:30:41 UTC | #5

    actually the deploy started last night, and the new code was pushed to us-east-1 and ap-northeast-1. the other regions should follow today.


    Poulain_Mathieu | 2018-12-13 00:35:17 UTC | #6

    Thank you. We could checked it.


    system | 2019-01-13 00:46:37 UTC | #7

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


    This post was migrated from the old Developer Forum.

    ref: 4110