https://prefect.io logo
k

Krapi Shah

06/10/2021, 5:04 PM
Hi. Prefect change task state as failed only in case of error or exception from what I understand. But what if i want to set the state based on the return value? Can I do that?
j

Jenny

06/10/2021, 5:08 PM
Hi @Krapi Shah - you could use a signal.
👍 1
k

Krapi Shah

06/10/2021, 5:29 PM
Thanks.... let me try it out
👍 1
2 Views