Repeater and aggregator with api pagination

Hello,

I am doing a workflow which includes a paginated api.

I want group all of the data afterwards in an array aggregator (using repeater as the source)

I read this solution here and applied exactly in the same way:

but still cannot make it work, flows just does nothing.

Any ideas why is not working?

If I change the source from repeater to iterator, it obviously gets three arrays as its inside the repeater loop

Loosing my head here

Would really appreciate a bit of help, I cannot understand why it does not group the data

thanks!

SOLVED!

It was because I have a paginated api and I commit on purpose an error when page is empty. Since iterator was not finishing, array aggregator cannot detect iterator as finished and hence output was never coming

therefore only solution is to let run the paginated api until it finishes

2 Likes

Hello @jdel54 :wave:

I just want to quickly say great job resolving this by yourself! :clap:

Thanks a lot for stepping back into the community and sharing what did the final trick for you. This is super valuable and could be incredibly helpful to many others who are looking for similar information. :pray:

FYI: I marked your comment as a solution to keep the community organized and easy to search for answers.

1 Like