cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Who Me Too'd this topic

UCCX 8 - Dramatic change in the Create File Document step that is used by the Create XML Document step in order to read an XML file

bvanbenschoten
Level 5
Level 5

For the last 5 years (and in IPCC3.x/4.x,UCCX/5.x/7.x) I've used the same basic subflow to read a XML document that contains holiday dates where the queue should be closed.  I've re-used this script on 20+ client installs and it's always worked.  The structure of the script allows you to pass the path and filename of the XML document as parameters to the subflow. (The document is in the repository)

I loaded this script in UCCX 8.0.2 recently and it crashed with a Java.IO error.  It looked like it was trying to read the file system directly and not the repository. (In the Linux appliance model this kind of makes sense but why is the step trying to read the file system directly?)

So I open a TAC case (SR# 615243125) and TAC tells me that the method of using the Create File Document step is not supported anymore and that I should specify the filename directly in the Create XML Document step

The problem that I see (aside from having to edit all my scripts that use XML files) is that the Create XML Document step is looking for the input to be a type DOCUMENT and not a type STRING.  This seems to imply that I have to hardcode the document in each script that I deploy for a customer.  When it was a string it was easy to construct the full file path from parameters and pass to the subflow.

Questions to the group

#1 Am I missing something here?

#2  Do you assume that you'll be able to load a script that worked fine in UCCX 7 into UCCX 8 and that it should completely function when you're doing everything according to the step reference documentation.

#3 Cisco didn’t document this in any way that I can find.

#4 How can you use the Create XML Document step in a fashion that would let you construct the path of the file and the filename previously in the script so you could pass it to a subflow ?  It would seem this functionality has been killed in UCCX 8

(Background)

Create File Document Step

The input filename is a STRING, could be an explicit path and filename in the repository or a variable that represents that path and string

The output of this step is a DOCUMENT to be used in the Create XML Document step

The string FILE_FullPathHolidayFiles references  en_us\folderName\documentName.xml

The document was properly uploaded into the repository only, NOT trying to directly read c:\foo\blah…

CreateFileDoc.PNG

The create XML document input can only be a type DOCUMENT

CreateXMLDoc.PNG

Who Me Too'd this topic