I face a problem when I create a recursive loop in backend workflows, where every time it creates a new thing, the loop stops after only 10 iterations and does not continue after that.
Is there a specific limit for creating things in the backend for the starter plan?
(In the attached pictures, the count is more than 10, but the work always stops at only 10 repetitions)
Because its calling it self bubble stop it, its a dangerous thing to call a backend api workflow in self. Its called recursive calling.
But there is no limit in bubble, the only reason bubble stopling it because its continuously call him self.
The proper way is:
Set and index parameter and inside the api workflow when you call the schedule api working plus index and schedule it after 2 second on this schedule add and only when which index is less then certain number.
You probably have the default Bubble limit of 10 recursions.
Turn that off (or change it) and you can run as many recursions as you need.
You can see that I have set a stop condition that is count >0.
So there is no problem with Bubble as long as it stops at a certain limit.
How could I turn it off (or change it)?
your condition is wrong its checking if ai is greater then 0, which is alway true, there should be a limit
if you available let me help you on a call
good … on scheduling add 1 second gap and also add a only when which say count is grater then 0 … if it still giving error then we need to take a look on log whats happening
Thank you, Baloshi for giving me your time and spending about an hour to hear the problem and give you solutions via the video call.
thanks again.
1 Like
It works, thank you thank you.
1 Like