Funny language note which got me confused at first:
Just saw a few times on the forum that in programming parlance people use the word asynchronous to mean synchronous when talking about workflows. Asynchronous means “not happening at the same time” and synchronous “happening at the same time”. In the case of Bubble, workflows are in fact synchronous.
A better wording and probably less ambiguous would actually be “non-sequential”.
The whole workflow might be synchronous (in that the front end waits for it to complete) but each individual action is more likely to be asynchronous (in that one step does not wait for the previous one to complete).
API Workflows are asynchronous (fire and forget). But still can happen all at the same time.
This said when I’m trying out to have my actions executed at the same time and look at the logs I see they are done sequentially. Which surprised me and was quite inconvenient because it lead to time outs. So I’m still not clear on how this all works in fact.
It is not always clear. My workflow is as followed:
Check if a certain thing is already uploaded in the database (it checks for name, date, etc).
When the thing isn’t already in the database a new thing is created.
So far so good, but when I wanted to check something with the step-by-step function it failed.
When running step for step action 1 always said the thing is already uploaded in the database, even if it was empty before launching the workflow. I think this can only be the case if action 2 is already executed before action 1 (in the step-by-step module). When in run-mode it works fine…