- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2022 01:37 PM
Hello,
I am building a flow and is appears to me as if this if statement is wrongly evaluating as true. Here are two examples, one when comparing sys_ids and the other comparing strings, "Start" and "Stop."
In both cases, since the sys_ids match (the one starting in 1dd...) and the "Start" matches "Start" it should evaluate as false. Below is the action for the strings, and the sys_id action is the same but with hardcoded sys_ids.
Am I missing something obvious? or is this IF statement truly not working?
Thanks,
Dan
Solved! Go to Solution.
- Labels:
-
flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2022 01:48 PM
"Does start != start"? FALSE
New Query: "Does start != stop"? TRUE
Therefore TRUE
So this looks like its evaluating correctly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2022 01:48 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2022 01:58 PM
When doing two not statements you need to use and instead of or.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2022 06:28 AM
Thank you guys, makes sense! Too many hours in front of the computer screen for me perhaps on this one...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2022 07:57 PM
All devs are entitled to 1 double-negative confusion per dev cycle.