Flow Designer evaluating If incorrectly?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-22-2022 08:02 AM
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:
And the executed flow shows the condition is evaluated wrongly:
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.
- Labels:
-
Service Catalog

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-22-2022 08:12 AM
HI Drew,
After the condition is evaluated is the "IF" statement ever being executed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2022 06:02 AM
No, the IF statement is not being executed

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-22-2022 08:16 AM
Hi,
Make sure the workflow is saved properly and activated. Test again with different record and check whether it is working
Thank you,
Palani
Palani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-22-2022 08:22 AM
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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader