• 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
    • 🔥 Pabbly Chatflow — Lifetime Access for $249View Offer

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

how to do in iterator i++;

nizam

Member
hi there

how can i do something equivalent to i=i+1; for each iterator loop?
if want to use javascript, wondering how to use it with pabbly variable.

my use case, i want to add delay after each 5 loop/iteration.

if (count ==5)
reset loop,
delay(1 min)
else
increase count+1;
 

Preeti Paryani

Well-known member
Staff member
Hello @nizam,

There isn’t any native feature in Pabbly to achieve this functionality directly. However, if you want to process only up to 5 iterations (for example, 5 elements of an array), you can structure it as follows:
  1. Add the Iterator with the array object.
  2. After that, add a Counter step which increments by 1 on each run.
  3. Then, add a Filter that checks whether the counter is less than or equal to 5.
    • If the condition is met, the workflow will proceed further.
    • If not, the filter will fail and the workflow will stop processing further.
This way, you can control how many iterations are processed.
 
Top