How about using the switch step?  One of the most common uses is, let's say, 
having 10 triggers on an application, then use the switch step with 10 entries 
in the list which will create 10 branches under the switch step.  In each of 
those branches for the called numbers, use the set step for your variable, 
typically a CSQ, but in your case, it could be to set a password in a variable.

Thanks,
Kevin

From: [email protected] 
[mailto:[email protected]] On Behalf Of Tanner Ezell
Sent: Friday, January 15, 2010 1:44 PM
To: Cristobal Priego
Cc: [email protected]
Subject: Re: [OSL | CCIE_Voice] UCCX Scripting

Cristobal,

See: https://supportforums.cisco.com/thread/2000771?tstart=0

(It is your thread after all)

Cheers,
Tanner Ezell
On Fri, Jan 15, 2010 at 11:25 AM, Cristobal Priego 
<[email protected]<mailto:[email protected]>> wrote:
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<http://www.ipexpert.com>



--
Regards,
Tanner Ezell

________________________________
This communication (including any attachments) is intended only for the use of 
the individual or entity to which it is addressed, and may contain information 
that is privileged, confidential and exempt from disclosure under applicable 
law. If you are not the intended recipient, any dissemination, distribution or 
copying of this communication is strictly prohibited. If you have received this 
communication in error, please notify Vital Support Systems at 515 334 5700 and 
delete or destroy all copies and the original document.
_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Reply via email to