I am working on a project where I want to use or() function. While using the or() function I found one bug when you write any word starting with the letter "T" in the or() function you will get a true return and for any other word then "T" returns false. I am adding some images for more clear discussion.
in this, I used random words starting with the letter "T"
using words other than the "T"
Discussion posts and replies are publicly visible
can you please help me in this
or() evaluates a list of boolean values. Looks like when a string is cast as boolean, if it starts with "t" it'll cast as TRUE.
This isn't really an "or() bug" as much as it is a funny corner case in Appian's primitive type typecasting.
My guess would be that it somehow interprets "t" as being true. If you cast anything starting with "t" to a boolean, it will evaluate to true.
Nevertheless, it could be considered a bug but at the same time, you shouldn't be passing strings as arguments to that function.