Stop Looping Workflows

I thought there was a tool that limited the number of cycles any given workflow could do. The last time I had an issue with an error with a looping workflow support walked me through how to set that up.

I had another issue yesterday where a workflow got in a loop, and I’m not sure why the limit did not stop it. I looked where I thought I set this limit last time to reduce it and I’m not seeing the option. Did they remove this option? If not where is it as it seems I need to lower it, so it does not run 300,000 workunits.

Go to Settings > API > Infinite Recursion Protection (middle of the screen)

1 Like

Great, thank you. I have it at 5k, any suggestion on what I should set it at? I’m so confused at knowing what to set it at, and Bubble support was not very helpful in understanding it.

I highly recommend reading through the section in the manual that breaks this down as there are some examples laid out to help you understand what depth will be the most appropriate for you: Infinite recursion protection | Bubble Docs

The main thing is you want to set it at a depth that will cover your “longest recursive chain.”

This topic was automatically closed after 70 days. New replies are no longer allowed.