Flow Designer "if" condition not working

TT3
Kilo Guru

Please see below "if" condition execution scenario in one of the flow. As you can see, it have been evaluated as false even though the the value matches variable. (Check the runtime value column) I tried with "IS" operator too but it didn't work.

 

TT3_0-1668701232353.png

 

Below screenshot of using "IS" operator:

TT3_0-1668701362240.png

 

Any idea why? (note: it was working before I upgraded to Tokyo)

1 ACCEPTED SOLUTION

TT3
Kilo Guru

I can't believe, but it seems Flow doesn't like numbers mix with characters. I changed the value from "Analyst4" to "afour" and it is working as expected. I don't have any adjective for this. But will avoid using Flow in future for sure.

View solution in original post

6 REPLIES 6

vkachineni
Kilo Sage
Kilo Sage

Is the variable a reference type? Did you try dot-walking to .name?

Please mark Correct and click the Thumb up if my answer helps you resolve your issue. Thanks!
Vinod Kumar Kachineni
Community Rising Star 2022

No, it's text and the variable I just pull from the picker and it logs the correct value. Thank you for the input though.

I saw it happen. I was testing with two flow variables. It failed the if check even when they had the same values.

Now it is working though

Evaluated - True

Analyst4LIKEAnalyst4 

I think the key is to Save your flow before Test when there are strings. But it was a weird one to see.

 

 

Please mark Correct and click the Thumb up if my answer helps you resolve your issue. Thanks!
Vinod Kumar Kachineni
Community Rising Star 2022

TT3
Kilo Guru

I can't believe, but it seems Flow doesn't like numbers mix with characters. I changed the value from "Analyst4" to "afour" and it is working as expected. I don't have any adjective for this. But will avoid using Flow in future for sure.