Thread
#prefect-community
    psimakis

    psimakis

    2 years ago
    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
    Dylan

    Dylan

    2 years ago
    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)
    Pedro Machado

    Pedro Machado

    2 years ago
    A workaround I used while experimenting with Prefect was setting each clock to a slightly different time (different minute).
    Dylan

    Dylan

    2 years ago
    That will definitely work
    But is annoying and obtuse, so we believe we should still update 👍
    psimakis

    psimakis

    2 years ago
    @Dylan thanks for your response. I use prefect core. I used the workaround that @Pedro Machado proposed above. Thanks again
    Dylan

    Dylan

    2 years ago
    Of course, Happy Engineering 😄