Temporary Array?

Hello,

I’ve a situation that I can’t solve without relying on external sources (files, databases), but maybe is it possible.

The situation:
I’ve several items that need to be validated and if the validation passes, added to the array for later processing

…in other terms the resultArray should be temporary while SplitinBatches is running and then passed to outResultArray. Is it possible?

Example code

You can access the data from inside the loop outside it and build your array there. You can find an example of it here in the Function-Node named “Merge Data”:

Thanks @jan for showing the way :arrow_upper_right::arrow_lower_right::grinning:

…the answer was right in front of me! :no_mouth:

Glad to hear that it helped! Have fun!