https://prefect.io logo
j

Jeffery Newburn

05/17/2022, 7:31 PM
In prefect 1.X what is the best way to execute a task only if the previous data retrieval task returned results? Like call an email task only if there is data to email.
k

Kevin Kho

05/17/2022, 7:36 PM
I think I would raise the SKIP signal from the upstream task to skip downstream tasks. You could use conditional logic or you can also look at triggers.
j

Jeffery Newburn

05/17/2022, 7:37 PM
I will check those out thank you
4 Views