cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
3392
Views
15
Helpful
23
Replies
Highlighted
Beginner

UCCX Subflow issue with Write document step

Hi,


We are currently having an issue with our subflow script which alters an XML file.


This Script has been functional in the past however it was when we were running UCCX 7.0 on windows and we used the windows paths to reference the XML document.


We have migrated to the Document repository and have worked through most errors like replacing the create file document step with the Create XML Document step however we receive the following error on the Write Document step:

AccessControlException:access denies (java.io.FilePermission DOC[/XMLs/business_fwd.xml] read)

I have attached the Script and XML documents.

Any help would be greatly appreciated.
Scott

23 REPLIES 23
Highlighted

You must authenticate a user before you can write a document to the repository. You need at least the Get User (input userID) and Authenticate User to do this.

From the: Scripting and Development Series: Volume 2, Expression Language Reference for Cisco Unified CCX and Cisco Unified IP IVR, Release 8.5(1)

Note This step is required in a script before you can use the Upload Prompt, Upload Grammar, or Upload Document step in that script. Only an authenticated user can upload a prompt, grammar, or document.

Highlighted

Hi,

We have added the Get user and authenticate step which are both succesful, however the error is still showing.

Any ideas?

Thanks,
Scott

Highlighted

You need to use the Upload Document step to write the document to the Document Repository.

Tanner Ezell www.ctilogic.com
Highlighted

We are working on the upload step now, however we run into the issue where the document upload is unsuccesful and when we modify the upload step we can no longer call the route point and receive the system troubles notification.

Highlighted

Are any services reporting PARTIAL_SERVICE or OUT_OF_SERVICE?

Tanner Ezell www.ctilogic.com
Highlighted

All services are In Service

Highlighted

Is validation of the script successful? (Tools --> Validate)

Tanner Ezell www.ctilogic.com
Highlighted

Script Validates fine, we were able to debug, then we changes a setting in the upload Document step and the error started to occur and we can't even use reactive script.

Highlighted

I have attached the Upload document step below

Highlighted

In your Upload Document step do you have the DOC[foobar] in quotes? If so, remove them.

Tanner Ezell www.ctilogic.com
Highlighted

Only the name in the upload document step is in quotes.

The document does not have quotes

Highlighted

Can you screen shot the Upload Document properties window.

Tanner Ezell www.ctilogic.com
Highlighted

no problems, See below

Highlighted

Remove the quotes from the Names field.

Tanner Ezell www.ctilogic.com