While trying to check an empty map, a!isNullOrEmpty and a!isNotNullOrEmpty are not working, rather giving opposite result.
The result of
a!isNullOrEmpty(a!map())
Discussion posts and replies are publicly visible
I made this edge case part of my universal null check.
if( local!typeNum = 'type!{http://www.appian.com/ae/types/2009}Map', /* Has no keys at all or all values are null */ or( length(a!keys(ri!value)) = 0, all(a!isNullOrEmpty(_), index(ri!value, a!keys(ri!value), null)) ),