Hi,
When we give empty related record in place of ri!array in below code it should give me true as a result but instead it is giving false
if( fn!isnull(ri!array), true(), length(ri!array) = 0 )
Here local!lrrfRec is the record and rgracslblLrrfSelectedCountries is the related record. We are passing this in place of ri!array.
Please correct me if I'm missing something in the above code.
Discussion posts and replies are publicly visible
Hello p2005 ,
https://docs.appian.com/suite/help/24.4/fnc_informational_isnull.html#examples It is because isnull returns false for empty arrays. You could use the below code and try out. When the Array input value is null due to the type defined it would return as a string of null values.
if( or(a!isNullOrEmpty(ri!array), length(ri!array) = 0), true, false )