Flow Designer evaluating If incorrectly?

Drew19
Tera Contributor

For some reason my Flow Designer If statement is evaluating a condition: a == false && b != c as a == false && b == c. I have tried to adjust my Flow a few times but, for some reason this condition does not stick.

Here is the condition:

find_real_file.png

And the executed flow shows the condition is evaluated wrongly:

find_real_file.png

 

Right now I am planning to use flow variables and run an inline script to just test it manually and use that for this comparison but, I would prefer to have a proper solution where I do not need all the extra work.

5 REPLIES 5

Muralidharan BS
Mega Sage
Mega Sage

HI Drew, 

After the condition is evaluated is the "IF" statement ever being executed? 

No, the IF statement is not being executed

palanikumar
Mega Sage

Hi,

Make sure the workflow is saved properly and activated. Test again with different record and check whether it is working

Thank you,

Palani

Thank you,
Palani

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

use lowecase for false

If that doesn't work fine then use script action and evaluate the condition and return true/false

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader