All, I am trying to use the 'icd demo' script from Cisco script repository as it covers emergency and holiday checks which is something I need. However getting stuck with the emergency.xml document from the emergency.aef sub flow. Things go wrong when the variable is populated with the path '/opt/cisco/uccx/customer' and '/opt/cisco/uccx/customer/emergency.xml' for the document. I have no idea how to put the emergency.xml into this directory. The actual error I get is around the path not being valid and the file not found. This thread seems to cover the same issue: https://community.cisco.com/t5/contact-center/uccx-emergencycheck-script/td-p/2857727 However I do not fully understand the solution or the alternative of bypassing it. Here are the instructions with the script: Instructions: ============= Use this script as a subflow in any call center script to check to see if emergency routing has been enabled The variable "isEmergency" is a boolean variable that will return the status of emergency routing Need a file: emergency.xml" with the following structure and it should be located in customer folder of UCCX Questions: 1. How do I upload my emergency.xml document to the path above? It would seem it is not accessible and it is created 'behind the scenes' after you upload to Document Management. 2. Can I not just upload the root of en_GB which is my language set on my trigger? 3. How would I do this suggested alternative by Deepak: (Struggling with the Create XML Document step..) ...if you want not to do that way then simply upload the emergency.xml in the Document Management on UCCX under the folder that you have set as your Default Language for UCCX and then in the Create XML Document step, simply define emergency.xml inside a document variable and use it as Source Document and system will pick it that way as well Thanks Mike
... View more
All, Just to resurrect this thread. I have the same issue and would like to understand this a bit more please. I am trying to use the 'icd demo' script from Cisco script repository as it covers emergency and holiday checks. However getting stuck with the emergency.xml document and this whole thing about the 'Customer' path. With the 'System.getProperty("uccx.customer.dir")' method you describe I get the same issue and confusion about the path shown in the script and how/where you place the emergency.xml document. My trigger is set to use 'en_GB' so have tried uploading to this directory with no success. How do I access these paths and actually put my XML file there? ('/opt/cisco/uccx/document/System' 'opt/cisco/uccx/document/User') Or the 2nd method you describe this and I would love to know how to actually do this: if you want not to do that way then simply upload the emergency.xml in the Document Management on UCCX under the folder that you have set as your Default Language for UCCX and then in the Create XML Document step, simply define emergency.xml inside a document variable and use it as Source Document and system will pick it that way as well Can you please elaborate on how you would do this part? On the 'Create XML Document' step I can see it is set as follows in it's default state: with the variable 'fileLoc' set as a string which I see populate with the Customer path when I do a debug and I always get file not found. I can change the source document to 'doc' and can see the variable for this as below but not sure how to get this option working: Thanks for the help. -- Mike
... View more