Do workflows run in sequence or in parallel?

Do workflows run in sequence or in parallel? I’ve been told both. I can’t find a definitive answer.

Can I make a change to an object in step one and assume that change has been made in step two?

Can I make a change to a custom state in step one and assume that change has been made in step 2?

Question 2: Bubble help has told me to put half second delays between some steps because they need to time complete before moving on to the next step. The manual states that delays have nothing to do with workflows, only what appears on screen, which is it?

I have errors that occur sometimes and not others when repeating the exact same actions. All I can imagine is that sometimes workflow steps do not complete before others run and sometimes they do.

1 Like

https://manual.bubble.io/help-guides/logic/workflows/actions#the-order-in-which-actions-are-triggered

2 Likes

Actions are triggered in series, but don’t wait for the previous one to finish. If an action relies on a Result of step x then it will wait for that previous step’s result.

No

No

The delay action is only for front end animations pretty much. They won’t delay actions plus hardcoding a certain amount of time is pretty rough because what if you choose 1 second and the action needed 1.05 seconds?

Or yea @dorilama 's link basically just answered it all… :flushed:

3 Likes

I didn’t see you were answering :sweat_smile:

1 Like

My rule of thumb is always, “Things usually work as you think they should if you step through in debug mode, and often don’t when you aren’t”.

3 Likes

I can’t believe I didn’t know this. There really need to be tool tips when building. It’s not at all intuitive to guess what runs when.

This seems to thwart the very idea of workflows.

For instance, lets say I trigger a workflow when an input is complete. In step one I set the value of something to the value of the input and in step 2 I reset the input. This suggests that bubble could reset the input before step 1 occurs?

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