Do you have any idea on how to check if all values in array matched in appian?
example
arrayValue = {true,true,true}
returns "All Elements are Same"
else returns "Not the same"
Discussion posts and replies are publicly visible
a!localVariables( local!arrayval: {true, true, 1, "hello"}, if( count(union(local!arrayval, local!arrayval)) = 1, "All Values are same", "All values Not Same" ) )
Yes, that is my recommendation too :-)
Since this way of using "union" is so common - and unintuitive, I have wrapped it into a function removeDuplicates: