Hi everyone! Is there a way to set a time limit fo...
# ask-community
f
Hi everyone! Is there a way to set a time limit for a flow run or a specific task? We’ve updated our python dependencies and some packages don’t seem to play nicely with each other anymore, one of the external apis we use somehow got stuck in an infinite loop, which made one of our flows run for 16hrs+ and probably longer if I hadn’t noticed and manually canceled it. 😓
k
You can do use Automations to cancel a flow run after a given amount of time.
🌟 1
f
@Kevin Kho ohh interesting! Yes this looks like what I’m looking for! Is this something that can only be set up through the UI?? Can I share automations between flows or do I need to set them up one-by-one individually?
k
You can click multiple Flows when you set them up. It can be created through the GraphQL API but it’s a bit trickty
👌 1
The UI uses these graphql queries under the hood
👌 1