- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2025 12:20 AM
Hi!
We have UCCE 12.6.2
And all values in /finesse/api/Queue/id equals "-1" when there are not any agents logged in this skill-group.
When there are somebody one (even in "not ready") - all's fine.
Does anybody knows if it's normally behaviour? And, if yes, could we change it?
We should to get: callsInQueue for this queue in real time and I couldn't find another way. In real-time tables data is with delay.
Best regards,
Viktor
Solved! Go to Solution.
- Labels:
-
Finesse
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2025 08:53 AM - edited 05-30-2025 08:56 AM
hi Viktor,
Just trying to understand the issue better, here are my follow up questions:-
1. As per the documentation https://developer.cisco.com/docs/finesse/queue%e2%80%94get-queue/#queueget-queue it says
"If you use this API to get a queue that is not assigned to any users, the response contains a value of -1 for numeric statistics and is empty for string statistics."
So the query I have, is this not what you are seeing in your response? if yes, then is your request is to change this behaviour of not showing -1?
2. Or is it that irrespective of the users logged in or not you are always seeing the statistics as -1 for all the parameters for both Queue and Queues get api?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2025 06:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2025 06:14 AM
Yes, I've did it already
But in process
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2025 07:11 AM
If you do something like an RTTEST or query it from the AWDB do they all show 0? In other words, is it "just" the Finesse API that is showing as -1?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2025 02:34 AM
Hello
I don't know how to check with rttest fo some queue. I always got:
rttest: dump_queue /group 7466
No calls queued to 5000.PQ.5101 (7466)
But in real-time tables of awdb and in live-data there are correct data: 0 or greater.
Only in cisco finesse's API statistics there are all "-1" and only in case if there aren't ane logged in agents
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2025 04:26 AM
You just use rttest for the expression of that value.
I tried it on my system and it showed as 0 as well, but if you try it on yours, you can at least narrow it down to if it is only the Finesse API.
Here's a link with some examples, but you could add the PQ and number of agents LoggedIn for instance.
https://community.cisco.com/t5/contact-center/expression-testing-in-rttest/td-p/384634
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2025 06:09 AM
Yes, rttest display statistic correctly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2025 11:01 PM
hi Viktor,
Can you try the Queues get list for the users api as mentioned in the below link
Do let us know if you are seeing the same issue there also?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2025 03:11 AM
Hello!
It's empty when agent isn't logged in:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2025 08:53 AM - edited 05-30-2025 08:56 AM
hi Viktor,
Just trying to understand the issue better, here are my follow up questions:-
1. As per the documentation https://developer.cisco.com/docs/finesse/queue%e2%80%94get-queue/#queueget-queue it says
"If you use this API to get a queue that is not assigned to any users, the response contains a value of -1 for numeric statistics and is empty for string statistics."
So the query I have, is this not what you are seeing in your response? if yes, then is your request is to change this behaviour of not showing -1?
2. Or is it that irrespective of the users logged in or not you are always seeing the statistics as -1 for all the parameters for both Queue and Queues get api?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2025 11:49 PM
Hi Nashina,
Yes, you are right. It's documented behaviour. I've missed this notification in docs
Thanks
