Thread
#prefect-community
    f

    fabian wolfmann

    1 year ago
    Hi! is there a way to schedule a flow depending on a condition?
    m

    Mariia Kerimova

    1 year ago
    Hi Fabian! Check out control flow tasks. I believe switch function can help you
    Dave

    Dave

    1 year ago
    It depends on what you exactly mean by "condition", have you looked at the docs and at scheduling filters? Can you elaborate what you mean by condition, because there is multiple ways to come around different scenarios? e.g. Have your flow running every hour and check if your condition is met when that's the case then run the specific "branch" of your flow that need a specific precondition.
    f

    fabian wolfmann

    1 year ago
    thanks i resolve it with usual python, since the condition is calculated before the flow runs