Hello everyone, I have three schedulers that trig...
# prefect-community
p
Hello everyone, I have three schedulers that trigger the same flow. Each scheduler is passing different
parameters_default
arguments. The problem is that the third scheduler never triggers a flow run and his
parameters_default
arguments are never passed to any flow run. Is this some kind of conflict between the second and the third scheduler (same time)? I'm pretty sure that I have misunderstand how the scheduling is working. Thanks in advance
d
Hi @psimakis, is this in Cloud? If so, feel free to post a URL to this flow here and I’ll take a closer look
I believe your issue is related to: https://github.com/PrefectHQ/prefect/issues/2510
I circled up quickly with the team and we agree: we should support this use case (multiple schedules with different parameters). I’m going to open a corresponding issue in the Server repo and I’ll reference in the issue above
In the meantime, you may be able to solve your usecase with: https://docs.prefect.io/core/idioms/flow-to-flow.html#running-dependent-flows
By having “parent” and “child” flows, you would be able to schedule multiple flow runs at a given time with different parameters
(Server-side issue for your reference: https://github.com/PrefectHQ/server/issues/96)
p
A workaround I used while experimenting with Prefect was setting each clock to a slightly different time (different minute).
👍 1
d
That will definitely work
But is annoying and obtuse, so we believe we should still update 👍
👍 2
p
@Dylan thanks for your response. I use prefect core. I used the workaround that @Pedro Machado proposed above. Thanks again
d
Of course, Happy Engineering 😄