• Instructions to Ask a Question

    For any assistance, please click the "Ask a Question" button and select the Pabbly product for which you require support.

    We offer seven comprehensive applications designed to help you efficiently manage and grow your business:

    Our support team endeavors to respond within 24 business hours (Monday to Friday, 10:00 AM to 6:00 PM IST). We appreciate your understanding and patience.

    🚀 Exclusive Lifetime Offers 🚀

    We invite you to take advantage of our special one-time payment plans, providing lifetime access to select applications:

    • 🔥 Pabbly Connect — Lifetime Access for $249View Offer
    • 🔥 Pabbly Subscription Billing — Lifetime Access for $249View Offer

    Make a one-time investment and enjoy the advantages of robust business management tools for years to come.

Iterators and cycling through lists question

nicheweb

Member
Hello,

I know how to process an array using an iterator, but my question deals with larges chucks of information where they only deliver a certain number of results in the array and then they include the next starting after ID so you can get the next array. I'm limited to 100 results in an array, but I have 800 total records to go through, so how would I configure this so I could cycle through all 800 records in batches of 100? If you go into the task, this is just a testing area and the step number is 8 list leads and then the iterator is step 9, but I need to utilize the "next starting after" in step 8 to pull the next 100. Thanks!
 

ArshilAhmad

Moderator
Staff member
Hi @nicheweb,

Are you looking to iterate through multiple action steps — for example, iterate the data in Step 8, then Step 10, then Step 11, and so on? If so, I'm afraid this particular use case isn't possible. You cannot use the same Iterator to loop through the data of multiple action steps.
 

nicheweb

Member
Hi @nicheweb,

Are you looking to iterate through multiple action steps — for example, iterate the data in Step 8, then Step 10, then Step 11, and so on? If so, I'm afraid this particular use case isn't possible. You cannot use the same Iterator to loop through the data of multiple action steps.
I just want to be able to cycle through all of the data and use it so it doesn't necessarily have to use the iterator. Since the API only allows us to get 100 records at a time in an array and then provides us with the next starting id, is there a way to cycle through all of that data so we can get all of it? Thanks
 

ArshilAhmad

Moderator
Staff member
The Iterator will process all the data fetched in your action step upon execution of the workflow. If the action application doesn't send all the data at once, then it's not possible to process the next set of data through the Iterator unless the entire workflow is triggered again.
 
Top