Comparing two strings in flow designers always results to false
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2022 05:59 AM
For some reason in flow designer when comparing strings (even if they are equal) always evaluates to false. I tried trimming and changing the case to upper and lower as well, but nothing worked.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2022 09:50 PM
I solved, just copy paste value from If condition to condition 1 and magic happened! if wrote with hand, then it shows that string=string, but evaluated false

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-03-2023 07:31 AM
Bravo, this helped me. Thanks for sharing.
In my case I was comparing the API status and due to the stupid string comparison bug of flow designer my condition kept on failing. Finally fixed it by copying the exact string from the operations view.
and used the same string in the operand of if condition in my flow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2023 03:22 AM
I foun dthe correct solution.
So apparantly you should use trim() or something else on top of the Variable to check against.
Eg see screenshot.
Now it works,.....