codehaus


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[olso][taskflow] graph-flow failed task will halt execution of children?


Short answer is yes. When a task fails and the revert path starts, it
goes back up the graph executing the revert methods and will not
execute any children beyond the failed task.

That said, there is an option in the engine to disable reverts
(execution will simply halt at the failed task), there are ways to
make decision paths, and there is a pretty robust set of retry tools
that can be applied in a revert situation.

Michael

On Fri, Nov 8, 2019 at 2:49 AM info at dantalion.nl <info at dantalion.nl> wrote:
>
> I have a short and simple question which I couldn't find a clear
> answer for in the documentation.
>
> I understand that when a task raises a exception in a graph flow it
> will revert all parents, however, I fail to find any information if it
> will subsequently prevent the execution of all children.
>
> I imagine yes as the dependencies for these tasks are now unmet but I
> would like to know for sure.
>
> TL;DR; Does an exception in a graph-flow task prevent the execution of
> children?
>
> Kind Regards,
> Corne Lukken (Dantali0n)
>