Hi! is there a way to schedule a flow depending on...
# prefect-community
f
Hi! is there a way to schedule a flow depending on a condition?
m
Hi Fabian! Check out control flow tasks. I believe switch function can help you
d
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
thanks i resolve it with usual python, since the condition is calculated before the flow runs