I have a existing script that I've used many times before to read a simple XML file to check open hours for a queue. In both UCCX 5 and 7
I loaded up all my same scripts, documents , structure, etc..
When I run script I get the below error.
The error implies its a security problem but I also wonder if it could simply be a incorrect directory structure as well
I have the document located in the repository under en\GlobalDocuments\HolidayDatesWithHours.xml
Is there a differnet way we need to reference documents in UCCX 8 than 5 or 7
I think I doing it correctly, using the CreateFileDocument and CreateXMLDocument steps, NOT trying to access the filesystem directly
Do I need to use forward slashes in the file path for UCCX 8 ,
Any ideas where to look. This same error appears wherever in my script that I'm trying to read a XML file. different scripts as well so it seems that I'm doing something consistently wrong that used to work correctly on multiple UCCX 5&7 servers in the past.
527258: Aug 23 14:19:36.635 CDT %MIVR-SECURITY_MGR-2-SECURITY_VIOLATION:Security violation: Permission Name=.\documents\user\en\GlobalDocuments\\HolidayDatesWithHours.xml,Permission Action=read,Application=TrainingQueue,Script=CoreBTS-QueueScript.aef,Step id=437,Step Class=com.cisco.wfframework.obj.WFBeanStep,Step Description=boolTrueFalse = objFile.exists(),Expression=null,Exception=java.security.AccessControlException: access denied (java.io.FilePermission .\documents\user\en\GlobalDocuments\\HolidayDatesWithHours.xml read)