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.
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.
We have added the Get user and authenticate step which are both succesful, however the error is still showing.
You need to use the Upload Document step to write the document to the Document Repository.
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.
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.
In your Upload Document step do you have the DOC[foobar] in quotes? If so, remove them.