Currently, we have a Data Table Lookup task that looks for a specific DNIS, and a Switch below it that provides the routing for each DNIS. The cases for the Switch have been converted to Strings [ToString("+1#######")]; however, i was wondering if it was possible to use "AND/OR" logic in the formula. The alternative, which is what I'm using, is to have multiple cases with the different numbers routing the call down the same path.
EDIT: but that just creates more cases than i would want to have.
For example:
- CASE 1: if telephone number AAABBBAAAA was dialed the IVR will route it to PATH 1 [ ToString("+1AAABBBAAAA) ]
- CASE 2: if telephone number AAABBBBBBB was dialed the IVR will route it to PATH 1 [ ToString("+1AAABBBBBBB) ]
- CASE 3: if telephone number AAABBBCCCC was dialed the IVR will route it to PATH 2 [ ToString("+1AAABBBCCCC) ]
Is there a way to combine CASE 1 and 2 with an AND or OR? e.g., ToString("+1AAABBBAAAA") OR ToString("+1AAABBBBBBB") to send to PATH 1.
Thanks in advance.
#ArchitectureandDesign------------------------------
Angel R.
------------------------------