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,false}, local!actuallength: length(local!arrayval), local!matchedlength: length(wherecontains(local!arrayval[1],local!arrayval)), if(local!matchedlength =local!actuallength ,"All Values are same","All values Not Same" ) /*contains(local!arrayval,true)*/ /*if(contains(local!arrayval,true),"Matched","Not Mached")*/ )