Does anyone know how to repeat a step in the workflow? Say I have a step 1, and a step 2 but I need to repeat step 1 after step 2 then continue in a loop. Does anyone know how to do that?
The best way to do loops are by using the backend workflows which are done on the server. Check it out: The Glossary - Bubble Docs
You can run them on a loop if need be. Then the user doesn’t need to wait in the browser while it is looping too. Even if they close the browser, it will still run the backend workflows.
Hope that helps!
For All Your No-Code Education Needs:
Hi,
@J805 is right. However, you should also consider what kind of loop you want to build. If you need it on the browser side (something like a loading effect), have a look at the Add a pause before next action & Terminate this workflow example on this page and you can download this free template to browse the editor to see how the loop is created on the browser side.
Cheers,
Eren
True, one reason you might need to do a loop is creating a PDF with PDF Conjurer. I’m sure there are other examples as well.
It really depends on the use case. I create loops client side using do every 5 second workflows to run through a list in a repeating group I have on a page. Most of the time I do loops server side using the recursive backend workflows.
This topic was automatically closed after 70 days. New replies are no longer allowed.