https://prefect.io logo
d

Dotan Asselmann

12/10/2020, 12:56 PM
Hi everyone. is it possible to set a task to run at the end of flow in any case. I want to run somekind of ‘cleanup’ task and i want it to run even if the flow is failing
m

Marwan Sarieddine

12/10/2020, 1:21 PM
Hi Dotan, you'll probably want to use a task with an "all finished" trigger (https://docs.prefect.io/api/latest/triggers.html#functions)
upvote 2
d

Dotan Asselmann

12/11/2020, 6:40 PM
👍👍 Tnx
👍 1