cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Walkthrough Wednesdays
886
Views
0
Helpful
1
Replies
chris.burns
Beginner

UCCX 8 - XML Priority Number Check

Hi All

Previously in UCCX 7 we used a priority number check xml file to validate if a number matched the calling number into a queue and a higher priority was then set if this was matched, however using the same file and script options in UCCX 8 we are getting a permission denied error when trying to access the file.

Sample Error Message Details:

,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\\priority_numbers.xml read)

Any comments or solutions would be great.

Below is a snapshot of the script, xml file and variables referencing the xml file.

script.jpg

xmlfile.jpg

xmlvariables.jpg

Regards

ChrisB

1 REPLY 1
Clifford McGlamry
Rising star

1.  Put the XML document into the repository.  It becomes easily accessible and works well.

or

2.  Put the XML document on another server and use a create url document step to retrieve it.

I would note that v8 is a linux appliance.  Linux does not use backwards slashes like Windows does.  Also, you do not have full access via path to the filesystem.  If you want reliable read/write access, it's best to load the documents into the repository.

Content for Community-Ad

Spotlight Awards 2021