06-11-2025 04:23 AM
Hi Team im working on the UCCX script for Zipcode in US when the user going to IVR and press the ZIPCODE from where they from.
when i define it with single zipcode it works but when im using a range for example for Texas 73301 to 88595.
here is the xml file i have and the script.
please help how can i do it on range.
<?xml version="1.0" encoding="utf-8"?>
<ZipCodeList>
<ZipCode ID="73301-88595">
<CSQName>CSQ_TEXAS</CSQName>
</ZipCode>
<ZipCode ID="70001-71497">
<CSQName>CSQ_LOU</CSQName>
</ZipCode>
</ZipCodeList>
06-11-2025 04:53 AM
06-15-2025 11:44 PM
I did some re configuration with the script using the if statement for IF (Zipcode == XXXXX>=XXXXX) if true go to CSQ = "CSQ_X"
but it not getting to the queue. can you help me on how i can improve the script and xml file. appreciate if you can help me.
06-16-2025 07:02 AM
What @david.macias said is correct. Zip code is a string column, so math will not work. You could use regular expressions with a "matches" qualifier in the where clause.
06-18-2025 03:38 AM
06-26-2025 08:59 AM
Hi @david.macias i already post the XML and the script on the beginning.
07-10-2025 03:18 AM
07-10-2025 06:32 AM
Hi @david.macias i manage to use the copilot to create the list of Zipcode for all the state for US. thanks for all the help guys
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide