Iterator and Array Aggregator returning incomplete results

:bullseye: What is your goal?

I want to process multiple order items from a webhook, check each item through an external API, and then combine all the processed items into one array using an Array Aggregator before sending the final order data to my CRM.

:thinking: What is the problem?

The scenario works correctly with 1 or 2 items, but when the webhook contains several items, the Array Aggregator sometimes returns incomplete results. The Iterator appears to process every item and the API calls are successful, but the final aggregated array is missing some of the items.

The scenario completes without an error, so I’m having trouble identifying where the bundles are being lost.

:test_tube: What have you tried so far?

I checked the Iterator output and confirmed that all expected bundles are being created. I also checked the API responses, reviewed the Array Aggregator source module, and tested with different numbers of items.

I also recreated the Aggregator and checked the mapped fields, but the issue still happens when processing larger orders. I’m wondering if the Router/Iterator/Aggregator structure is affecting how the bundles are being handled.

3 posts were merged into an existing topic: Iterator and Array Aggregator returning inconsistent results