04-07-2022 03:33 AM
Hi Team,
I am facing a hard time in creating a script with EWT and Positioning.
First call says that the wait time is -1 min 0 secs and 1 queue position.
2nd call says some time in mins and secs however the queue position is not said.
I'm attaching the script .Need urgent help .
I want to have EWT and Queue positioning .
04-07-2022 06:39 AM
This isn't a scripting problem. It is a data problem. The engine can't make any kind of accurate estimate without data. Bear in mind that estimated wait times will work best if you don't have a wide variation in call times. What I mean by that is half your calls are 5 minutes and the other half are 45 minutes. A single outlier won't skew the results too much, but it is an estimate. The other thing that will make your wait times inaccurate if you have a lot of agents that log in but never go ready (like supervisors sometimes). I am sure Google can find how this is exactly calculated, so I won't try to repeat it. It does involve the average call time, the number of callers in queue, and the number of agents logged in with the skills/resource group for the CSQ.
04-07-2022 06:49 AM
This is how we have built these two functions in one of our scripts.
04-07-2022 07:14 AM
Hi ,
The EWT works however the Position prompt doesn't work .is there any way to check the logs.
04-07-2022 07:28 AM - edited 04-07-2022 07:39 AM
The easiest would be to run a reactive debug and check the outcome of the position in Q in your script. Checking logs is a PITA and it would likely not give you the needed data, anyway not in an easy to understand form.
04-07-2022 08:13 AM
Hi Roger,
I tried to run the Reactive Debug .However getting Reactive Debugging timer timed out .I have set that to 120 secs.
04-07-2022 09:31 AM - edited 04-07-2022 11:59 AM
Are you calling into the script to trigger the reactive debug once you turned it on?
04-07-2022 11:02 AM
No I didnt call the trigger number I was running the reactive debug.
Please let me know how to use the reactive debugging.
04-07-2022 11:58 AM - edited 04-07-2022 12:01 PM
You turn on the reactive debug and then you call to the trigger to get the debug to react on the application being in use. All this has to happen within the time you define for the timeout of the reactive debug.
04-07-2022 01:02 PM
Hi,
As @Roger Kallberg mentioned, once you select the script from reactive debugging mode, you should call the trigger number and click "Step over" icon to move the call to the next step in the script.
Check the variable values of variable position in your script.
if you have not used this before, the following reference may help you to understand it better.
Regards.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide