12-02-2011 05:29 AM - edited 03-14-2019 08:58 AM
Hi there,
I have a pretty weird situation here.
with a Get reporting Statistic I take the Contacts waiting value within the CSQ IPCC Express report Object.
The result is place inside an integer ex : intContactsWaiting
With it I try to compare the result with a maximum value that I have manually configured.
ex:
intMaxContactsWaiting = 3
---
IF intContactsWaiting > intMaxContactsWaiting
true
Play prompt A
false
Play promt B
The problem is I can not reach the true. (PromptA) even if I have 4 contacts in the CSQ.
The weird part is, If I do a debug on the 4th call it reach the true... ONLY when I use the debug. I know it sounds weird and I did'nt find any explaination on that. As soon as I use the debug for the third call, the script seems to be fine, when I look at the value of all variable they are well populated.
12-05-2011 10:45 AM
anyone?
12-05-2011 11:29 AM
Hi
You should break the problem down a little.
It's either the return value from the 'get reporting' statistic is wrong or not working, or your actual comparison is wrong/not working.
I would play out the result of the 'get reporting' step using a 'create generated prompt'/'play prompt' combo.
If that plays out what you expect, then try removing the get reporting step and putting in dummy static values via by parameterizing the integer ex
Or post up your actual script so it can be reviewed...
Aaron
12-12-2011 08:31 AM
I explained that to the TAC and they say it's a bug.
Pretty much like if the get have a problem when it's in the Select resources.
The workaround is to put it outside the Select resource.
The problem is if you want to do a play prompt to tell the caller how many people are waiting in the queue you will have an issue, it will not give the exact number of people that are waiting in the queue.
I tell them to open a Bug-ID, i will post it here as soon I have it.
thanks
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: