Legacy Dev Forum Posts

 View Only

Sign Up

Get Waiting calls and IDLE agent in several queues with Single DataAction on queues Observations

  • 1.  Get Waiting calls and IDLE agent in several queues with Single DataAction on queues Observations

    Posted 06-05-2025 18:29

    David_Fradejas | 2023-12-01 18:44:45 UTC | #1

    HI Experts!! I would like to extract using single Data Action the waiting calls and IDLE Agents in several queues (up to 5) using single API queues observations.

    The main reason is because we need to improve the performance of the flow, due to some air silence we get while we are doing the calculations.

    the problem I get is because when I ask for the IDLE agents, AI returns me only the ones that have IDLE agents, but not the rest, so it's so difficult because I don't know which queue has the IDLE agents because of the position of the array.

    The DataAction I made is just one parameter as imput, with the body of the observations, which in my examples, is:

    { "filter": { "type": "and", "clauses": [ { "type": "or", "predicates": [ { "type": "dimension", "dimension": "queueId", "operator": "matches", "value": "adc8dac1-eaf9-4f7a-94bb-ed2d43317a10" }, { "type": "dimension", "dimension": "queueId", "operator": "matches", "value": "6ee22927-0726-446f-869d-0c267c5b87ff" }, { "type": "dimension", "dimension": "queueId", "operator": "matches", "value": "b449da0e-9d63-41d6-a1cd-d8d2dd7842e3" } ] } ], "predicates": [ { "dimension": "mediaType", "operator": "matches", "value": "voice" } ] }, "metrics": [ "oWaiting", "oUserRoutingStatuses" ] }


    David_Fradejas | 2023-12-01 18:41:35 UTC | #2

    DFT--Get-Num-of-Call-Waiting-and-IDLE-Agents-in-Queues-20231201194055.custom.json|attachment (2.1 KB)

    Attached the JSON API...any advices would be much appreciated.

    THANKS!!!


    David_Fradejas | 2023-12-11 14:49:39 UTC | #3

    Noone could help me? please


    system | 2024-01-10 14:50:07 UTC | #4

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


    This post was migrated from the old Developer Forum.

    ref: 23463