Forum Academy Marketplace Showcase Pricing Features

How to stop a background API runing an infinite loop?

How to stop a background API runing an infinite loop?
How to stop a background API runing an infinite loop?
How to stop a background API runing an infinite loop?
How to stop a background API runing an infinite loop?
How to stop a background API runing an infinite loop?
.
.
.

1 Like

Build an extinguishable condition

Example:

Add two parameters:
index - number
listCount - number

When scheduling the backend flow set them like this:

index 1
listCount >whatever the list of things count is<

As the last step of the flow, add an action to schedule itself on current date but with the extinguishable condition:

when index < listCount

I want to terminate the infinite loop that is running right now.

Go to logs

Go to scheduler

Press show

Press cancel

It worked after I pressed cancel something like 50 times.

Every time I think more and more bubble is a big amateurish waste of my time!

Thanks man!

Glad it helped!

Many folks including seasoned devs have trouble coming to terms with this language. Not for lack of ability for sure.

However, the possibility to save 10x dev time is too “tasty”.

Dev agencies and businesses are making money with Bubble.

Many performing apps are behind NDAs so it is difficult to see the impact it is having.

Tip for the future, hit paused all workflows then cancel

2 Likes