The filter on the router is correctly sending both bundles into the array aggregator on the top path. But somehow the lower path is being executed as well with no data and the filter showing 0 matches. The arrays have different structures so I can’t have a single one before the router. Any help appreciated, thanks!
Hi,
Even if there are no values passed through to the Array Aggregator, it will still produce an empty array. This happens because the module is still aggregating data based on the source module, which in this case is Google Sheets. The aggregation process occurs regardless of whether any data is present.
To stop this you can use a filter after the aggregator and only allow to pass through when the length of the array is not equal to 0.
Best,
Mr. Make
3 Likes