Hi Everyone,
How to handle null values in a recordtype?
My output is like this where first index is nul. To exlcude that in recordtype what needs to be done as i have used reject function as well but it will only work for an array.
Can someone please help me on this?
Discussion posts and replies are publicly visible
You can build your own custom null check rule for records like I have done. In the code below, ri!record is of ANY type.
and( a!forEach( items: a!keys(ri!record), expression: a!isNullOrEmpty(index(ri!record, fv!item, null)) ) )
NOTE: This will only validate a single record and not a list. So you can add it in your reject function and it should work there.
yes its working. Thank You!!