Issue to check related record if its empty

Certified Associate Developer

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