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

Counter module not working

dan90

Member
Your Task History ID
IjU3NjUwNTY5MDYzZTA0M2M1MjZhNTUzNjUxMzM1MTYwNTQzNDBmMzQi_pc
Hi there

I'm using get count on an array before it's processed, then incrementing a counter as the array is processed.
The idea is to use a conditional filter that only triggers when the array count and the counter match.
However, my counter seems off as it's increasing unexpectedly.

For example, the first count for this task shows 0 + 1 = 460, which doesn’t make sense. It seems like the counter isn’t resetting properly between runs, or something else is going on.

Any ideas on what might be causing it?

Thanks!
 

Himesh

Active member
Hi there

I'm using get count on an array before it's processed, then incrementing a counter as the array is processed.
The idea is to use a conditional filter that only triggers when the array count and the counter match.
However, my counter seems off as it's increasing unexpectedly.

For example, the first count for this task shows 0 + 1 = 460, which doesn’t make sense. It seems like the counter isn’t resetting properly between runs, or something else is going on.

Any ideas on what might be causing it?

Thanks!
Hello @dan90 , You need to reset the counter, count the array and put that value in reset count field. If you are still not able to solve this on your own feel free to DM me and we can do a free zoom call. FYI I'm not from Pabbly Connect team, just a freelancer who helps other Pabbly users.
 

dan90

Member
Hello @dan90 , You need to reset the counter, count the array and put that value in reset count field. If you are still not able to solve this on your own feel free to DM me and we can do a free zoom call. FYI I'm not from Pabbly Connect team, just a freelancer who helps other Pabbly users.
Thank you for responding. The options for resetting it seem to be either reset every time it iterates or when it gets to a certain number. How do I have it reset when the workload is run? Thanks
 

ArshilAhmad

Moderator
Staff member
We have mapped the Array Count in your 'Counter' action step. This should allow your workflow to reset the counter once it reaches the array count.
1750528263814.png
 

ArshilAhmad

Moderator
Staff member
The routers should work properly; we suggest testing them once. We have changed the Initial Value in your Counter step to 1. Please test the workflow to ensure it is functioning as expected. Just make sure not to click the 'Save & Send Test Request' button in the Counter step
1750533288439.png
 
Top