How to deal with a single null value in the array parameter for append()

Certified Senior Developer

Dear Community,

I checked the null safety of my processes and functions and discovered an odd behavior for append()


append({},{1,2,3,4}) returns {1,2,3,4} as aspected
append({null},{1,2,3,4}) returns five times a null value as "list of null"


1.) Can you verify this behavior?

2.) What would you do to reach a proper null save behavior?

kind regards and thank you in advance,
Richard

  Discussion posts and replies are publicly visible