I have a collect input in one of my flows where I am trying to use two numbers (55) to route a call to a menu that lists a name and a code.
I have it as collect input (Flow.Variable) exactly 2 digits and the switch is programmed that if it hits case 1 Flow.variable=="55"
I've tried this with Flow.Variable and leaving it as a boolean and it fails and goes to error handling. I've also tried a ToString to convert the boolean and a ToInt to convert the boolean to integer when I couldn't get it to work as a string.
Is the collect input limited to only capturing 1 DTMF value? Can it not capture 2 or three numbers in an input with a switch and have it route accordingly?
Collect input can capture up to 32 digits, depending on the Number of Digits setting. The Input Data Name variable is a string, so you don't need to use ToString. Flow.variable=="55" is a valid expression to use. Since it's not evaluating to true, try using a verification method to see what the system heard. Also check the No Entry Timeout and Inter-Digit Timeout settings to make sure they aren't too short. If that happens the system would stop listening before/during you pushing the keys on your phone and so Flow.variable would either be NOT_SET or just "5".