Skip to main content
rahulp0011
New Participant
September 21, 2026
Question

The input “Records” must not be null or empty.

  • September 21, 2026
  • 3 replies
  • 28 views

All the process variables currently contain null values:

  • pv!currentCase
  • pv!redeemedLoans
  • pv!amortization

We are using the following expression to exclude null values:

reject( a!isNullOrEmpty(_), { pv!currentCase, pv!redeemedLoans, pv!amortization } )

However, when all process variables are null, the expression returns an empty list, which causes the error.
 

The input “Records” must not be null or empty.

Is there an alternative way to configure the XOR gateway that it skips the write operation when all values are null?, since i dont want to increase number of node by adding xor gate ?

3 replies

stefanhelzle0001
Brainy
September 21, 2026

Did you try to use the all() function, instead of reject()? I returns true if the function returns true for all items in the list.

rahulp0011
New Participant
September 21, 2026

tried with all() function, getting following error
 


 

stefanhelzle0001
Brainy
September 21, 2026

The image is too small.

I suggest to test this in an expression rule.