Wenceslao Negrete

02/01/2023, 4:16 PM
Hi all, is there a best practice to prevent race conditions between flows?

Kevin Wang

02/02/2023, 3:02 PM
If a flow must finish before the other, they should be subflows. These run sequentially inside a parent flow. (This allows data passing but you don't have to use it).
Or, tasks have a
parameter .. i'm still learning about this. I'm guessing this param only matters when you use a parallel Task runner. (somebody else please confirm). The default behavior for tasks is the same as flow - blocking, and are run sequentially (so you don't actually need wait_for) 🙂[…]flow-should-be-defined-at-a-task-subflow-vs-flow-level/522 Good luck!