What does your XML file look like, and can you screen shot your script for us to look at.
On Fri, Jan 15, 2010 at 2:32 PM, Cristobal Priego <cristobalpri...@gmail.com > wrote: > Tanner, > > I have a question, > > when i read the xml file it always return Null so the first if statement > is always false i can't move forward. > what am i doing wrong ? > > 2010/1/15 Cristobal Priego <cristobalpri...@gmail.com> > > oh ok, i didn't see that part. >> my apologies >> >> 2010/1/15 Tanner Ezell <tanner.ez...@gmail.com> >> >>> Do NOT reference the absolute path. This is no longer supported in UCCX 8 >>> and bad practice to begin with. >>> >>> Cristobal, >>> >>> The path for the XML step should be something like (if you follow my >>> example): >>> >>> "/descendant::Passwords/child::Password" + count >>> >>> You'll need a document variable, and use the Create XML Document Step, >>> the document name will be (for example Passwords.xml) DOC[Passwords.xml], >>> assign the document variable to the step then you can use the Get XML >>> Document Data Steps >>> >>> >>> On Fri, Jan 15, 2010 at 1:18 PM, Christopher Clouse < >>> christopherc_56...@hotmail.com> wrote: >>> >>>> You can reference the absolute path (c:\document.xml) or the preferred >>>> way to do this is to upload the document to the Document Management and >>>> reference [DOC] document.xml. The latter allows for it to be backed up >>>> with UCCX and supports HA. >>>> >>>> ~Chris >>>> >>>> *From:* Cristobal Priego <cristobalpri...@gmail.com> >>>> *Sent:* Friday, January 15, 2010 2:15 PM >>>> *To:* Christopher Clouse <christopherc_56...@hotmail.com> >>>> *Cc:* ccie_voice@onlinestudylist.com >>>> *Subject:* Re: [OSL | CCIE_Voice] UCCX Scripting >>>> >>>> I'm trying the xml option. >>>> >>>> i just have a question on the step : Get XML Document Data; on the field >>>> "Path" do i specify where the XML is located ? or what do i put there >>>> >>>> thank you >>>> >>>> 2010/1/15 Christopher Clouse <christopherc_56...@hotmail.com> >>>> >>>>> The better way to do this would be do an XML lookup to perform the >>>>> function that you want based on DNIS and return the password to the >>>>> script. >>>>> >>>>> ~Chris >>>>> >>>>> *From:* Cristobal Priego <cristobalpri...@gmail.com> >>>>> *Sent:* Friday, January 15, 2010 12:25 PM >>>>> *To:* ccie_voice@onlinestudylist.com >>>>> *Subject:* [OSL | CCIE_Voice] UCCX Scripting >>>>> >>>>> Hello all >>>>> >>>>> I have a question, i'm in the middle of programming a scripting and >>>>> just realized that i need to create a nested if step. >>>>> >>>>> Do you know what's the maximum if's that can be nested? I need to nest >>>>> 25 ifs on my script >>>>> >>>>> or if you could recommend a better way to do it I'd appreciated it >>>>> >>>>> this is what i need to do pretty much on this step >>>>> >>>>> based on the CalledNumber I need to set a fixed password to a variable. >>>>> do you know a way to do this besides the nested ifs ? >>>>> >>>>> >>>>> thank you >>>>> >>>>> Cris >>>>> >>>>> ------------------------------ >>>>> >>>>> _______________________________________________ >>>>> For more information regarding industry leading CCIE Lab training, >>>>> please visit www.ipexpert.com >>>>> >>>> >>>> >>>> _______________________________________________ >>>> For more information regarding industry leading CCIE Lab training, >>>> please visit www.ipexpert.com >>>> >>>> >>> >>> >>> -- >>> Regards, >>> Tanner Ezell >>> >> >> > -- Regards, Tanner Ezell
_______________________________________________ For more information regarding industry leading CCIE Lab training, please visit www.ipexpert.com