09-29-2011 04:06 PM - edited 03-14-2019 08:38 AM
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
09-29-2011 04:16 PM
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.
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.
09-29-2011 04:59 PM
Hi,
We have added the Get user and authenticate step which are both succesful, however the error is still showing.
Any ideas?
Thanks,
Scott
09-29-2011 09:22 PM
You need to use the Upload Document step to write the document to the Document Repository.
09-29-2011 09:43 PM
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.
09-29-2011 09:48 PM
Are any services reporting PARTIAL_SERVICE or OUT_OF_SERVICE?
09-29-2011 09:50 PM
All services are In Service
09-29-2011 09:53 PM
Is validation of the script successful? (Tools --> Validate)
09-29-2011 09:55 PM
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.
09-29-2011 09:53 PM
I have attached the Upload document step below
09-29-2011 09:55 PM
In your Upload Document step do you have the DOC[foobar] in quotes? If so, remove them.
09-29-2011 10:00 PM
Only the name in the upload document step is in quotes.
The document does not have quotes
09-29-2011 10:01 PM
Can you screen shot the Upload Document properties window.
09-29-2011 10:03 PM
no problems, See below
09-29-2011 10:05 PM
Remove the quotes from the Names field.
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