Hi
@Luke MitchellFirst, in your
Collect Input action make sure that you have set exactly
3 digit under
Numeric Input section.
Then, you can use this expression inside a
Decision block to check the range you mentioned
:
Flow.record2 >= "100" and Flow.record2 <= "199"
where
FLow.record2 : is the variable used to collect the user input.
I have designed a task in Architect and tested it and it works as you expected.
Below, a screenshot of what I just described.
As you can see, I added a loop and as long as the decision is not verified, I loop 3 times and if the user input is within the range [100,199] , I exit the loop and continue the rest of my call flow.
Hope it helps
------------------------------
Charaf Eddine Chemlal
NTT France
------------------------------
Original Message:
Sent: 03-02-2020 07:06
From: Luke Mitchell
Subject: Architect Decision - Included in range
Hi All,
I am trying to get a decision to work in Architect but cannot get it correct. I have the caller inputting a 3 digit number but would like to limit the number to a certain range such as between 100-199, so am setting a decision to check this. However I cannot get the expression to function correctly, does anyone know the best way to do this or an example expression?
Thanks Luke
#ArchitectureandDesign
#Routing(ACD/IVR)
#SystemAdministration
------------------------------
Luke Mitchell
G3 Comms Ltd
------------------------------