Hi, I have a technical question. Background of my ...
# ask-the-community
f
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?
a
you could return a bool denoting if the task was successful or not then use
conditional
to execute the task if successful
f
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.
e
f
Thanks @Eduardo Apolinario (eapolinario), that helps a lot!
112 Views