Caller Input Valid Range Condition

Status
Not open for further replies.

cantvchicago

Premier Customer
Joined
Nov 7, 2018
Messages
14
Reaction score
1
I read the three other posts about this, but need an update and more precise and complete instructions.

My super simple call flow needs to limit the VALUE of the DTMF digits collected in CallerInput to a range between 1 and 108. But where do I place the conditional component?

1695325877187.png

The condition...


AND(GREAT_THAN_OR_EQUAL(TO_INTEGER(CallerInput.Buffer),"1"),LESS_THAN_OR_EQUAL(TO_INTEGER(CallerInput.Buffer),"108")

Thanks in advance for any assistance.​
 
You're comparing strings and integers.

You're doing TO_INTEGER but then "108" with quotes (a string.) Enter those in digits only.
 
In addition, if you can enter a value between 1 and 108, you will need to configure your User Input component with MinDigits=1 and MaxDigits=3. Then you can add your condition inside the Valid Input branch. The Valid Input branch will be executed when you enter between MinDigits and MaxDigits.
 
Status
Not open for further replies.

Members Online Now

Forum statistics

Threads
111,843
Messages
589,328
Members
164,680
Latest member
JV J