In Prefect 3.x, when two flows have the same priority and are scheduled for the same time, there is no guaranteed order for which flow will execute first. Priority determines the order of flow runs submitted for execution, but if two flows have the same priority and are not limited by concurrency, they may be submitted in any order.
The execution order is primarily influenced by priority levels, and when those are identical, other factors like concurrency limits or the internal scheduling mechanism may influence the order. However, without specific constraints or configurations, the execution order for flows with the same priority and schedule time is not deterministic.
For more details, refer to the
work pools documentation.