Interesting, thanks. I am going to play around with this. I would be surprised for me if it worked because I have needed to space mine out with at least .3 seconds of delay.
I have continued to work on this regularly with support and they basically confirmed as of last week that this is broken (my words/my opinion). Below is the last pertinent correspondence.
From Bubble Support:
"I’ve received word that this behavior you’re experiencing is related to an edge case of our workflow logic, where if a workflow has a mix of actions that happen on both the client and server, the ordering of the actions fired might be different from the linear design because of what’s firing on the client versus the server. For context, what seems to be happening here is that both the “create” and “make changes to” actions are ones that run on both the client and server. As a result, these actions, along with their associated custom events, may execute of out sequence.
We mitigate behaviors like this to some extent with some very complex logic, but in our current architecture, some occurrences of this may still slip through, and we don’t have a quick fix to provide at the moment. I understand that you’d like to refrain from relying on scheduled triggers, but it’s my understanding that this is the most reliable workaround for this this known limitation. I sincerely apologize for the inconvenience this has caused, but I hope this explanation helps clarify this behavior you’ve encountered."
My response:
"Thanks for your work on this and given my understanding of the workflow logic I did know that some of this was possible. I guess where I’m confused though, is that these items, especially on the simplified test case we created yesterday, do not have any client side actions. More so, the conditionals should always be accurate, no? And also, as part of the same workflow logic you mentioned, custom events should execute in order.
I understand your explanation but really don’t think it matches here. It feels like a bug to me."
From Bubble Support:
"I wanted to let you know that I’ve shared the test case with one of our engineers, and they confirmed that the “create” and “make changes to” actions will need to run on both the server and client. It’s important to note that with workflows, there’s often a lot going on behind-the-scenes during execution, and some actions that seem strictly server-side actually need to run on the client as well.
This means that when working with these actions, the order in which they are triggered can sometimes deviate from the linear design, even when triggering the actions in a separate custom event."
I confirmed this is also 50/50 hit or miss when running only as a backend workflow, so again in my opinion, this is simply broken.
My other previous replies to this thread regarding custom event return values stopped working so I am back to scheduling these with a delay instead of triggering them in order as I desire.