Hi,
I'm currently running a flow with a task that is not critical, and often fails. I want to use a control flow task to execute the subsequent tasks with different inputs depending on whether the previous task failed.
I could wrap the whole task in a try catch block and return a boolean success value, but I also want the task failure to appear in the prefect UI, along with the error message.
Is there any way to branch based on the state of a task, as opposed to the value of the result?