cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
717
Views
0
Helpful
1
Replies

Syntax for using custom function to determine region in IF node UCCE Script?

kvogler@ttec
Level 1
Level 1

A customer of mine is attempting to route within their UCCE script by region.  I understand that we can use a CLID node and route to end points via matching the CLID Prefix  to a geographical region.  My concern is that may require the linking of many CLID nodes or a lot of end points from one big confusing node.

I'd like to try to use this custom function for example to add say several states to one 'zone' if you will.. That way we can chain IF nodes out the failure of the previous for the number of regional zones the customer defines.
if(Region.<state_a>,1,0)||if(Region.<state_b>,1,0)||if(Region.<state_c>,1,0)||if(Region.<state_d>,1,0)

My issues is that I can't seem to determine the proper syntax to make this work within an IF node formula against CLID..

Anyone do something similar or I'm wondering if I should stick to the CLID node, which by the way is how this function is defined within the Scripting and  Media Routing  Guide.  I'm simply trying to clean it up a bit.

Thanks,

K

1 Reply 1

geoff
Level 10
Level 10

I would not try to do that.

 

Put the CLID node it at the entry point (I assume that all calls from the PSTN enter through the one script and are then distributed). Set an ECC variable to the two letter code for the States. Do this once, and once only. Now you can write custom functions to your heart's content to look at the ECC variables.

 

If you don't have a single PSTN entry script that acts as a distributor (typically on Dialed Number) you don't have the most optimal design (in my opinion). There are some things you want to do just once. Like the CLID (Region), the Send to VRU, the setup of ECC variables for CVP. Allowing dialed numbers to enter a number of scripts is sub-optimal - but people do things their own way.

 

After nearly 20 years with ICM I have found my way. May the force be with you.

 

(Hey - who are you? Do you work for TTEC? I am at eLoyalty also - send me an email geoff_thompson@eloyalty.com)

 

Regards,

Geoff