I have max=100 and startFrom=1 defined before the flow and each iteration I need to add the two for the next startFrom.

I’m thinking $env would be the best way to keep a state variable. How do I use $env exactly?

Is there a more detailed guide on expressions?

Hey @levensailor,

Could you please explain a little bit better so that I can help you. I do not quite understand what you want to accomplish.

I was able to get pagination working with a function instead of a set

1 Like

You can see how Split in Batches in combination with an if clause works in this workflow:

In the beginning I found it hard to grasp how to loop through items or pages in this case. Check out this video if you want to know more about it