Hi, I have a technical question. Background of my ...
# flyte-support
s
Hi, I have a technical question. Background of my question. I learned that in order to chain two tasks as dependent tasks, one task’s output must be the input of the other. I have a task that depends on a task (say to remove data in a folder) that doesn’t produce any output. How do I do it?
👍 1
s
you could return a bool denoting if the task was successful or not then use
conditional
to execute the task if successful
s
Hi Augie, Thank you for your help. What if the previous task throws a runtime exception? The assumption in any workflow engine is if a previous task doesn’t error out, it’s considered successful and it will automatically trigger the next task. And this is such a common case. If I have to use a fake output as input, this place Flyte engine in the inferior class.
h
s
Thanks @high-accountant-32689, that helps a lot!
👍 2
158 Views