Out of office status notifications

Is it expected that notifications for out of office status change will send two notifications for status change? The first one states the out of office is false and then the second one is true after setting the user to out of office. When taking them off out of office, it only sends one notification.

8:21:40.680

v2.users.860b9b17-c83c-4aa3-b20f-3f44b8cf9f9a.activity

{
 "id": "860b9b17-c83c-4aa3-b20f-3f44b8cf9f9a",
 "routingStatus": {
  "status": "OFF_QUEUE",
  "startTime": "2020-02-25T16:15:57.782Z"
 },
 "presence": {
  "presenceDefinition": {
   "id": "6a3af858-942f-489d-9700-5f9bcdcdae9b",
   "systemPresence": "AVAILABLE"
  },
  "presenceMessage": "",
  "modifiedDate": "2020-02-26T13:21:43.380Z"
 },
 "outOfOffice": {
  "active": false,
  "modifiedDate": "2020-01-05T17:17:46.255Z"
 },
 "activeQueueIds": [
  "d6fc3594-99e6-409c-a7a2-4a287c06a0b5",
  "d52bb285-bfc1-46ae-94dc-8f04f4a12a71"
 ],
 "dateActiveQueuesChanged": "2020-02-24T22:30:14.016Z"
}

8:21:40.690

v2.users.860b9b17-c83c-4aa3-b20f-3f44b8cf9f9a.activity

{
 "id": "860b9b17-c83c-4aa3-b20f-3f44b8cf9f9a",
 "routingStatus": {
  "status": "OFF_QUEUE",
  "startTime": "2020-02-25T16:15:57.782Z"
 },
 "presence": {
  "presenceDefinition": {
   "id": "6a3af858-942f-489d-9700-5f9bcdcdae9b",
   "systemPresence": "AVAILABLE"
  },
  "presenceMessage": "",
  "modifiedDate": "2020-02-26T13:21:43.380Z"
 },
 "outOfOffice": {
  "active": true,
  "modifiedDate": "2020-02-26T13:21:43.405Z"
 },
 "activeQueueIds": [
  "d6fc3594-99e6-409c-a7a2-4a287c06a0b5",
  "d52bb285-bfc1-46ae-94dc-8f04f4a12a71"
 ],
 "dateActiveQueuesChanged": "2020-02-24T22:30:14.016Z"
}

Based on the OOO timestamp from the second notification, I'd guess the first notification was generated due to a change in presence. The modified timestamp for presence is about 20ms earlier than the OOO change.

Hello Tim,

Sometimes we are receiving multiple notifications (3, two with out of office as true and 1 for false) and sometimes we are receiving just a single notification. This is the case for both the conditions i.e. when either user changes status from out of office to another status or from another status to out of office status.

We were not facing this issue of multiple notifications earlier.

Below is the JSON for multiple notifications just for a single change in user Out Of Office Status. (when status changed to out of office) -

I.
{
"TopicName": "v2.users.27bab0ba-be1f-4d89-bb8a-15e74b70f497.activity",
"Version": "2",
"EventBody": {
"id": "27bab0ba-be1f-4d89-bb8a-15e74b70f497",
"routingStatus": {
"status": "IDLE",
"startTime": "2020-02-26T13:25:07.502Z"
},
"presence": {
"presenceDefinition": {
"id": "6a3af858-942f-489d-9700-5f9bcdcdae9b",
"systemPresence": "AVAILABLE"
},
"presenceMessage": "",
"modifiedDate": "2020-02-26T13:25:46.077Z"
},
"outOfOffice": {
"active": true,
"modifiedDate": "2020-02-26T13:25:46.102Z"
},
"activeQueueIds": [
"229f9227-bda3-4c5b-b82a-2f18a058bf4e",
"4ad14379-59f4-4f86-b741-a87c8f557db3",
"02e6396f-5d7e-4254-bc65-77df6ae48099"
],
"dateActiveQueuesChanged": "2020-02-25T10:29:38.593Z"
},
"Metadata": {
"CorrelationId": "42a16601-b50d-49ef-8f0c-182012761c9d"
}
}

II.
{
"TopicName": "v2.users.27bab0ba-be1f-4d89-bb8a-15e74b70f497.activity",
"Version": "2",
"EventBody": {
"id": "27bab0ba-be1f-4d89-bb8a-15e74b70f497",
"routingStatus": {
"status": "OFF_QUEUE",
"startTime": "2020-02-26T13:25:46.132Z"
},
"presence": {
"presenceDefinition": {
"id": "6a3af858-942f-489d-9700-5f9bcdcdae9b",
"systemPresence": "AVAILABLE"
},
"presenceMessage": "",
"modifiedDate": "2020-02-26T13:25:46.077Z"
},
"outOfOffice": {
"active": true,
"modifiedDate": "2020-02-26T13:25:46.102Z"
},
"activeQueueIds": [
"229f9227-bda3-4c5b-b82a-2f18a058bf4e",
"4ad14379-59f4-4f86-b741-a87c8f557db3",
"02e6396f-5d7e-4254-bc65-77df6ae48099"
],
"dateActiveQueuesChanged": "2020-02-25T10:29:38.593Z"
},
"Metadata": {
"CorrelationId": "42a16601-b50d-49ef-8f0c-182012761c9d"
}
}

III.
{
"TopicName": "v2.users.27bab0ba-be1f-4d89-bb8a-15e74b70f497.activity",
"Version": "2",
"EventBody": {
"id": "27bab0ba-be1f-4d89-bb8a-15e74b70f497",
"routingStatus": {
"status": "IDLE",
"startTime": "2020-02-26T13:25:07.502Z"
},
"presence": {
"presenceDefinition": {
"id": "6a3af858-942f-489d-9700-5f9bcdcdae9b",
"systemPresence": "AVAILABLE"
},
"presenceMessage": "",
"modifiedDate": "2020-02-26T13:25:46.077Z"
},
"outOfOffice": {
"active": false,
"modifiedDate": "2020-02-26T08:58:16.835Z"
},
"activeQueueIds": [
"229f9227-bda3-4c5b-b82a-2f18a058bf4e",
"4ad14379-59f4-4f86-b741-a87c8f557db3",
"02e6396f-5d7e-4254-bc65-77df6ae48099"
],
"dateActiveQueuesChanged": "2020-02-25T10:29:38.593Z"
},
"Metadata": {
"CorrelationId": "42a16601-b50d-49ef-8f0c-182012761c9d"
}
}

If you need the cause of a specific event pinpointed, please open a case with PureCloud Care for investigation.

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