Say you pass a thing to multiple workflows that make edits to it at the same time. Is it possible for two workflows to change 2 fields on the same thing at the same time?
Example:
Thing 1
Field A
Field B
Workflow Z edits Thing 1’s Field A ←→ Workflow X edits Thing 1’s Field B
Is this allowed? I don’t see any documentation about this.
If it’s different fields there should not be any problems since it’s still PostgreSQL underneath it all.
The problems comes when 2 or more workflows try to edit the same field of a record at the same time since Bubble does not allow much concurrency control to builders.
I have. It’s a record that stores different global values for a tenant. Updates different field types at any one point of time. Never experienced any issues but that’s my anecdote.
Race conditions will break things. Last update wins. Scheduling can alleviate but there will always be edge cases. I tried to use scheduling delays in my booking system but it broke way to often during peaks.