cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3930
Views
15
Helpful
23
Replies

UCCX Subflow issue with Write document step

Scott Brien
Level 1
Level 1

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

Jonathan Schulenberg
Hall of Fame
Hall of Fame

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.

Hi,

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

Any ideas?

Thanks,
Scott

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

Tanner Ezell www.ctilogic.com

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.

Are any services reporting PARTIAL_SERVICE or OUT_OF_SERVICE?

Tanner Ezell www.ctilogic.com

All services are In Service

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

Tanner Ezell www.ctilogic.com

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.

I have attached the Upload document step below

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

Tanner Ezell www.ctilogic.com

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

The document does not have quotes

Can you screen shot the Upload Document properties window.

Tanner Ezell www.ctilogic.com

no problems, See below

Remove the quotes from the Names field.

Tanner Ezell www.ctilogic.com
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: