After the switch from v7 to v8, UCCX is now an appliance platform like UCM. This also caused a few changes in some script steps. Especially writing files/prompts to the file structure in UCCX is now different. To write files to the UCCX server one needs to be authenticated. I had an pretty old script which I used to record prompts for my customer projects. This allowed me to record 10 prompts in a row. Just rename and put them at the right place. After the switch to v8 this script failed to write the wav-file because the location I used is now part of the protected file system. Also the way how to write prompts needed to be changed. I fixed this and if anybody is interested, I attached a copy of the script.
I try to use .length() function to count the length of the pin, but it is not working, any idea?
If (pin.length() < 6)
There is no error, can't even debug it. Please find the attachment is the script that I'm doing. Thanks.
I put the script to work in my UCCX and the length() function works like a charme. I don't have the recordings so I don't exacly know what the conversation is, but from the possible answers in the get digit steps I can imagine what you are doing. There are some things which throw up some questions for me as an outsider:
- For single digit answers I would limit the amount of expected digits to 1, so the caller does not need to hit the # key to terminate the timeout
- if the amount of digits in the GID.length() is lower than 6 you are going to play "exceeded" prompt. Shouldn't that be the other way around?
- the false output will only be used if the amount of digits is exactly 6. This may be working as intended, I just don't know what the goal is.
I don't see any issue why you cannot debug the script. Validation and debug worked for me. The GID.length function as you implemented it, gives you exactly the amount of digits, so works as you wanted. I tested your script on an 8.0.2 UCCX
Hi, really appreciate your reply^^ The overall script is for the caller to apply leave.
For your first question (For single digit answers I would limit the amount of expected digits to 1, so the caller does not need to hit the # key to terminate the timeout), did you mean languageChoice and confirmGID? I have already set the input length as 1.
For second and third question, this script is not yet completed, so I just simply put the prompt for both braches.
Why I can't debug the script? I also don't know why, when I click the Reactive Script, then I dial the number, nothing happens, then it said "Reactive Debugging Timer timed out". Everything include the debugging work fine after I remove the GID.length().....
Any idea? It is kind of weird that it works fine in your UCCX but not mine T_T
Currently I'm using a standard license.
when you use reactive script and the debug does not get triggered then it might be that tyou are triggering a different script. When selecting the script in the rective debug setting, the length of the box is not changeable. Use a shorter form of the name otherwise you may not be able to see the most righthand characters. This happens usually if you have multiple versions of the script varying only in the last characters. That is the only thing I can think of which will prohibit you from triggering the debug.
Hi Patrick, I'm sure that I'm triggering the right script. I think the reason that I can't run my script but you can is the standard licensing, according to the Cisco Unified Contact Center Express Getting Started with Scripts, Release 8.5(1), only enhanced and premium license can use the java features.
oh shoot, you are right, I just did not even think about the licensing issue. You mentioned it in one of your posts that you have the Standard License. This is of course a show-stopper. Ask your Cisco-contact if they are willing to give you an Enhanced or Premium trial license. Usually they do with very limited resources. At least you can then test some of the desird functions.
Authenticated user where? And what PIN would I enter? I cant even get past the authentification stage of the script.
Any help appreciated.