How To Reference Last Bundle Without Iterator Module

Hi There!

Is there a way to reference the last bundle to use it in a filter without using the Iterator Module? I’m using an Aggregator module to group some ID’s that I need to change only once in each over HTTP request. Unfortunately because of the grouping I’m not able to use the array length in the filter. In the last bundle I would like to run another scenario. In the print below I’m using the distinct function inside the Iterator Module. It works, but I would love to get rid of this iterator module:

You could use a router between the cvs module and the aggregator and filter the last bundle through a separate route. Then set the result as a variable and use the get variable module on your other path to retrieve the results.
Hope this helps!