tOrganizationPresence contains following qualifiers:
AVAILABLE
BUSY
BREAK
ON_QUEUE
OFFLINE
tAgentRoutingStatus contains following qualifiers:
INTERACTING
NOT_RESPONDING
IDLE
We have following assumption
ON_QUEUE = (INTERACTING + NOT_RESPONDING + IDLE )
but the numbers don't seem to add exactly up
Are we using the wrong assumption - are there other qualifiers we should consider in our formula? Is it because there is maybe tagentroutingstatus values in previous or next interval ?
User Aggregate generates pre-calculated results, so what you are checking the values against when you state "the numbers don't seem to add exactly up"? Are you comparing against values from the User Status Detail Report?
tx for response
we take values for INTERACTING/NOT_RESPONDING/IDLE AND ON QUEUE in the same result txt file
Yet the ON_QUEUE is not exactly equal to the sum of the 3 other qualifiers
On queue value is 23678248 while sum of the 3 other qualifiers is 23690421
Below the result table from a single user aggregate query
I can see why you would think that ON_QUEUE = (INTERACTING + NOT_RESPONDING + IDLE ), but that is actually an incorrect assumption. ON_QUEUE is a presence status and the others are routing statuses and they are tracked separately, so the times will be close but will never add up exactly the same.
For instance I subscribed to the "v2.users.{id}.activity" event and I received this where "IDLE" is my routing status and "ON_QUEUE" is my presence: