• 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.
 

nizam

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 Filterthat 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.
yes, how to implement step 1 to 2 in pabbly connect. i still cant figure it out. can you make 1 example how its done
 

ArshilAhmad

Well-known member
Staff 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;
It’s not possible to reset the loop of an Iterator. The use case you are describing is currently not supported.
 

Preeti Paryani

Well-known member
Staff member
Hello @nizam,

Could you please share the workflow where you were trying to achieve this? This will allow us to better assist you.

Please be aware that to assist you effectively, we may need to access your Pabbly Connect account. If you're comfortable with this, please grant us permission by stating in your next reply:

"You have my permission to log into my Pabbly Connect account and edit the workflow, if required. Here is the registered email address associated with it."

Looking forward to assisting you further.

1757653575189.png
 
Top