Hi Prefect Community! Is it possible to limit a fl...
# ask-community
m
Hi Prefect Community! Is it possible to limit a flow runtime in the Prefect UI? For some background, we have some pipelines that frequently get stuck in a running state. I'm wondering if there is a way to automatically cancel a flow run when it exceeds a specific duration. We're still using Prefect 1.0
z
If you’re using Prefect Cloud, yes.
This is a part of our “automations” feature
👍 1
👀 1
m
Awesome! Thank you!
I have a follow up question, can I do use "automations" in Prefect cloud with timeouts on specific tasks in the flow? I've haven't seen it. The only option I can think of now is handle it programmatically
z
Not in Perfect 1. Tasks allow programmatic timeout configuration though yeah.
thank you 1