In DoForEach Smart Service Expression Component filterNulls does not

In DoForEach Smart Service Expression Component

filterNulls does not work for me with TEXT ARRAYs?


rule!filterNulls({"test1","test2",null,"test5",null})

gives me

test1; test2; ; test5;

Why is that?

...

OriginalPostID-60934

OriginalPostID-60934

  Discussion posts and replies are publicly visible

Parents
  • Then you can do =fn!remove(pv!array,fn!where(doforeach("isnull",pv!array)))

    #knowledgeshare Note: Expression rules, when used in the doforeach, are *not* resolved by the Application Builder's dependency checker, and hence you need to manually keep track of the expression rules used inside doforeach. In the expression I mentioned above, you will be using isnull, so not a problem here, but something to keep in mind in-case you plan on using expression rules inside the doforeach. Hope this helps!
Reply
  • Then you can do =fn!remove(pv!array,fn!where(doforeach("isnull",pv!array)))

    #knowledgeshare Note: Expression rules, when used in the doforeach, are *not* resolved by the Application Builder's dependency checker, and hence you need to manually keep track of the expression rules used inside doforeach. In the expression I mentioned above, you will be using isnull, so not a problem here, but something to keep in mind in-case you plan on using expression rules inside the doforeach. Hope this helps!
Children
No Data