01-17-2018 08:53 AM - edited 03-14-2019 05:52 PM
In uccx, you can create a script to read an xml formated doc for say holiday period so the scripts checks the doc and if a holiday schedule is then maybe close, play new message etc. I seem to remember this is not possible with Pcce or ucce, it can not do a doc read in the same way as uccx-the only option is to do a DB walker integration into a sql DB or make use of call studio which can read a xml type doc - is this correct
UCCX can read a doc
Pcce, ucce either dB lookup or needs call studio, it can do a straight doc read?
Thanks
Solved! Go to Solution.
01-18-2018 09:29 AM
01-17-2018 01:02 PM
This is most commonly handled via admin scripts in UCCE/PCCE which is much easier than CCX. You defined persistent user variables that you set to 1 if today's date is a holiday in the admin script and then the routing script checks the value of this variable to determine how to route the call. If you want your admin script to lookup the holiday schedule from a DB/etc instead of having them codec in the script you could do that as well.
01-17-2018 03:03 PM
01-17-2018 04:42 PM
You could do something similar with CVP Studio scripts and web services connection where you could read XML/JSON/etc. But it's most common to do this via admin scripts and you could create a routing script for supervisors/etc to dial in and set the global variables by selecting options in IVR/etc.
01-17-2018 11:17 PM
01-18-2018 05:25 AM
While you're familiar with the XML method of doing things, this is just an old way of doing things which was mainly used to get around UCCX licensing. If you have the license in CCX and with a bit of CVP Studio knowledge using a DB to manage schedules and emergencies is the way to go. You can then layer on top of that DB a front end, with use rights and logging as well as redundancy. If you're moving to CCE, leave XML files behind.
david
01-18-2018 05:31 AM
01-18-2018 05:33 AM
Can you read an XML file in an ICM script, no. Can you read an XML file in CCE, yes if you use an IVR (CVP/IP IVR).
david
01-18-2018 05:39 AM
01-18-2018 05:42 AM
A DBLookup node has nothing to do with XML. That's my only clarification based on your statement.
david
01-18-2018 08:39 AM
01-18-2018 09:22 AM
01-18-2018 09:29 AM
01-19-2018 09:56 AM
01-19-2018 09:26 AM
Hi,
CVP 11.0 onwards Call studio includes two element:
1) Rest Client:
using this element you can access external XML file hosted on web server using HTTP GET.
The element has built in XPath/JSONPath, which you can use to extract particular data from the retrieved XML doc.
2) Set Value Element:
if Xpath/JSONPath in above element does not work, or if you want to extract more than one field from XML doc use this set value element, here you can invoke a small java script code within substitution builder which will extract particular value from XML body obtained from Rest Client element above and store that in local variables.
Unified CVP Utility for Java Scripts
importPackage(com.audium.server.cvpUtil);
var xml = {Data.Element.Rest_Client_01.response_body};
XpathUtil.eval(xml , "/Results/customer");
its just matter of doing some more research on the topic and you have what you are looking for.
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