cancel
Showing results for 
Search instead for 
Did you mean: 

Choice stage not working fine when input condition to be checked is of text variable type

Shanthi_DianaRa
Level 2
When I run the flow, it is always taking me to "Otherwise" part if the variable is of text data type. However, if my input variable is of Number data type, it just works fine by going to the appropriate branch. Please help me sort out the issue.
2 REPLIES 2

IshaSingh
Level 4
Hi rshanti, Is it possible for you to convert the text data type to number every time? You can then check against a number here instead of checking the ASCII value of the number. As in,  check ButtonOne as: ToNumber([InputKey])=1 Thanks, Isha Singh

Shanthi_DianaRa
Level 2
Hi Isha, Thanks for your comment. 1. But would like to know why this has to be done. Does choice option not work with text datatype? 2. The reason why i opted to go for text data type is that my input will contain non-numerics like ""+"", ""-"" etc. Please assist!