Hi all,
we've been confronted to a strange case. For a better understanding we've reproduced the behavior in a expression rule : if({ 1 } = 1, { 2, 3, 4 }, {}) returns 2.
Obviously, comparing a list with an integer is the error here. But, then, the result should be either the empty list or null or an error message.
For more fun, you can test : if({true, false, true},{2,4,6},{3,5,7})
In our mind, a type error should be returned.
Regards.
Discussion posts and replies are publicly visible