Help on script required

Version 1
    This document was generated from CDN thread

    Created by: J Daniel Salamanca on 13-12-2012 04:41:33 AM
    Hello,
    I have a script which needs to read from a server using the "Create URL document" step, and then "create XML document" with the information read there.
    The problem is that sometimes the server goes down so it cannot create the XML document and the call fails. Is there any way to try to skip the "create XML document" step and proceed directly to the next steps to avoid the call failing? I have seen that the "Create URL document" has a timeout field but it doesn't present an alternative branch to go if it happens.
    Any help would be appreciated.
    Thanks in advance
    Daniel

    Subject: RE: Help on script required
    Replied by: Joerg Wesely on 13-12-2012 12:05:08 PM
    Hi,
    If reading the document fails, a DocumentException ist thrown. if you place a  "on exception goto"-step before the create XML Document step, you can specifiy a label to jump to in this case.
     
    I hope that helps you
    Jörg

    Subject: RE: Help on script required
    Replied by: J Daniel Salamanca on 14-12-2012 03:14:01 AM
    Thank you very much Joerg,
    I have used the solution you suggest and on next Thursday I have a maintenance window to test it. I will let you know if it works, this is the first time I use that step so I am not sure if I picked up the right exception from the list.

    Subject: RE: Help on script required
    Replied by: J Daniel Salamanca on 07-01-2013 02:10:24 AM
    Finally I could test it and it worked using the onexception step. Thank you very much for the help!

    Subject: RE: Help on script required
    Replied by: Manas Varma on 14-01-2013 05:11:06 AM
    Hi Guys,
      Does any one have a working script for reading the contents of the XML file present in the repository and then generating an IVR on teh basis of that. We are stuck here with this proposition and don't know how to move ahead with this. We are quite new to the CCX Editor and haven't had much experience on working with UCCX Scripts. Any help with this, will be highly appreciated. Thanks..
    Manas