https://prefect.io logo
j

Joël Luijmes

12/25/2020, 11:02 AM
Hey, can I create a task which is triggered by a Retry? Or create some retry logic for multiple tasks? For instance, I spawn off a kubernetes job, but if the job fails, I first want to cleanup that job before retrying.
d

Dylan

12/25/2020, 4:31 PM
Hi @Joël Luijmes! You could use a state handler for the retry state
j

Joël Luijmes

12/26/2020, 11:20 AM
Cool, thanks Dylan 🙂