03-06-2015 11:01 AM - edited 03-14-2019 02:31 PM
Hi
my customer has UCCX 8.5 Enhanced and he cannot afford an upgrade to Premium.
They need to know how many times an option has been pressed by the users along the time. That option has only a "play prompt" step.
I thought about using an XML file and, every time that option was pressed, I would increment the variable inside it.
The problem is that, inside the script, I cannot increment the string extracted from the xml file. That is only valid for integers.
Does anyone have an idea about how to get it?
Thank you
Marcos
Solved! Go to Solution.
03-06-2015 11:35 AM
You would run into issues using an xml document within uccx is having multiple updates as you have overlapping contacts.
From what I have seen while testing at run time the xml document is loaded into memory for that script. Let's say the value is 1. If the script is executed again before the other one has completed it will also read the value as 1. The first script has completed and updates the document to a value of 3. The second script is not aware that the value was updated to 3 and will rewrite the value based on the starting point of 1 which will result in the data being lost.
What you might be able to do is use the Create URL Document step to Post data to another server and have it do all of the calculations on the back end.
DJ
03-06-2015 11:18 AM
Hi Marcos-
Do you need to know that on a call by call basis or as a whole? For example a caller pressed 3 five times or all calls pressed 3 5000 times combined.
If it's a call by call you could just right it to one of the Custom Call Variables with a Set Enterprise Data step.
DJ
03-06-2015 11:23 AM
Hi DJ
I need that as a whole: the total times option 3 was pressed since the script started.
The best option would be working with a database, but my customer cannot afford an upgrade to premium licenses.
Thank you for your reply
Marcos
03-06-2015 11:35 AM
You would run into issues using an xml document within uccx is having multiple updates as you have overlapping contacts.
From what I have seen while testing at run time the xml document is loaded into memory for that script. Let's say the value is 1. If the script is executed again before the other one has completed it will also read the value as 1. The first script has completed and updates the document to a value of 3. The second script is not aware that the value was updated to 3 and will rewrite the value based on the starting point of 1 which will result in the data being lost.
What you might be able to do is use the Create URL Document step to Post data to another server and have it do all of the calculations on the back end.
DJ
03-06-2015 12:30 PM
Thank you DJ
03-06-2015 11:44 AM
Hi,
I would definitely consider building a server next to UCCX and just fire off a simple call (anything would do, HTTP is easiest) and let the external server do the counting.
G.
03-06-2015 12:30 PM
Thank you Gergely
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