# Does the workflow is asynchronous?!?

**URL:** <https://forum.bubble.io/t/does-the-workflow-is-asynchronous/146410>\
**Category:** Need help\
**Created:** [April 14, 2021, 11:16pm UTC](https://forum.bubble.io/t/does-the-workflow-is-asynchronous/146410 "2021-04-14T23:16:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rpetribu](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/rpetribu/32/90852_2.png) [@rpetribu](https://forum.bubble.io/u/rpetribu)\
**Post date:** [April 14, 2021, 11:16pm UTC](https://forum.bubble.io/t/does-the-workflow-is-asynchronous/146410/1 "2021-04-14T23:16:22Z")

</div>

Hi everyone! 🖐

I am experiencing something strange… I thought that the workflows run synchronous, one step after another…

I am building something very simple, a signup form where, before the user is signed up, i run a workflow to do some analysis (as “Search for” and other stuffs). The LAST step in this wokrflow is to create this new user. But the problem is that Bubble is not waiting all the steps of my workflow and the user is beeing created before it`s steps arrive. This is crazy…

I am testing in debug mode. Step-by-step, and the user is created sooner than the event “Sign the user up”.

Anyone guesses whats is going on?

---

<div class="post-metadata">

**Author:** ![cmarchan](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/cmarchan/32/253062_2.png) [@cmarchan](https://forum.bubble.io/u/cmarchan)\
**Post date:** [April 15, 2021, 5:11am UTC](https://forum.bubble.io/t/does-the-workflow-is-asynchronous/146410/2 "2021-04-15T05:11:04Z")

</div>

@rpetribu Bubble tries to run steps in a workflow when viable. It does sequential when you use “result of step 1 or whichever”, when you use conditions that say “result of step 2 is not empty”, and others that do not come to mind … or that I do not know how it is handled.

If you want to use searches in your flows a good practice is to have them ready. As an example … setup a hidden repeating group with the search and refer to it in the flow. Or …schedule a custom event a few seconds in the future so that you give the flow search time to complete.

Just a few ideas thrown out there for you that may spark some ways for yo deal with the logic you are building.

A good resource to understand more about the innerworkings of this and other topics is to read the (paid) guide to performance in Bubble by @petter .

> [@The Ultimate Guide to Bubble Performance - 156 pages of optimizing tips](http://forum.bubble.io/t/the-ultimate-guide-to-bubble-performance-156-pages-of-optimizing-tips/125918):
>
> Hey everyone, I’m very happy to announce that I’m releasing my book [The Ultimate Guide to Bubble Performance](https://gumroad.com/l/the-ultimate-guide-to-bubble-performance) today. [[image]](https://gumroad.com/l/the-ultimate-guide-to-bubble-performance) It’s a 156 page PDF available on Gumroad that dives deeply into the hard-earned lessons I’ve learned over five years of full-time Bubbling, focusing on: how to determine whether Bubble is the right tool for your project: the pros, cons and limitations from a performance perspective how to set up your app to load pages, process workflows and edit database records at ma…

---

<div class="post-metadata">

**Author:** ![rpetribu](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/rpetribu/32/90852_2.png) [@rpetribu](https://forum.bubble.io/u/rpetribu)\
**Post date:** [April 15, 2021, 11:00am UTC](https://forum.bubble.io/t/does-the-workflow-is-asynchronous/146410/3 "2021-04-15T11:00:49Z")

</div>

Thank you for your help. I will try to think in other alternatives for cases like this. As well as read the recommended article.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [June 23, 2021, 11:16pm UTC](https://forum.bubble.io/t/does-the-workflow-is-asynchronous/146410/4 "2021-06-23T23:16:54Z")

</div>

Closed on June 23, 2021, 11:16pm UTC

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