Hey everyone, I'm trying to create a failure hook ...
# ask-community
t
Hey everyone, I'm trying to create a failure hook that will then trigger a cleanup flow. Is this possible to do? I'd like for the function to call the flow and start it, but I don't know how to wrap it in a flow context to make that possible.
👀 1
j
Hello, have you looked into setting up an automation? You can run the deployment for the clean up flow.
t
This looks like it could work, I'll look into this, thank you!
👍 1
s
will it clean up k8s jobs/pods?