I have uploaded one XML document in UCCX 11.6 default path.
Now I want to modify the XML file through UCCX script.
In the recording script where options are “Press 1 to activate, Press 2 to deactivate and press 3 to record. Press 3 options is working fine. Now press 1 and press 2 can we create a xml document and modify the value inside the XML document. For example if I want to change the ActivationStatus in below file to "False" how to do that with UCCX script.
I have a similar function where my Call Center is able to call in and set their queues to emergency.
1 - Create XML doc from existing XML
2 - Transform values based on variable (in this case, pressing 1 sets emergencyStatus to true, and "True" is set in the xml)
3 - Upload document back to CCX.
I assume you should be able to work out something similar for your needs.
Hi Mike, Thanks for your reply. I tried the upload step, but only blank document get uploaded.
I would like to know whether my script configuration is fine or not.
Below is my Template, I would like the change the value "%Manual%" to True of False.
Screenshot of my Script.
Please help me as I am stuck at this point from last one month. TAC also not providing any solution as TAC is not responsible for any new configuration.
Thanks again for your prompt reply.
I tried as per your suggestion but again blank file get uploaded. There may be something wrong in my configuration. Either in the Variable or in the script. When I enabled reactive debug everything seems to be right. However still blank file get uploaded. Any Idea what is wrong in my configuration.
Im working on setting up this exact scenario.
Would it be possible for you to upload the UCCX script you had success with in this scenario?
Im having an issue with the upload document step and would love to be able to work off of yours.
Hi, Though this is an old thread, i have tried this now and replying with my worked script for future reference.
Hope this image explains.
I am uploading OriginalXML as OriginalXML1 to avoid confusion, we can use same name as OriginalXML for uploading document, no issues.
Authenticate the user with credentails having admin rights. Enter the user name and its corresponding password.