Hello all,
I try to write multi branches Qrquesta,
For example
task1:
action: pack1.tasks1
next:
- when: <% result().result.result1 > 0 %>
do: task2
- when: <% result().result.result1 = 0 %>
do: task3
task2:
action: pack1.task2
next:
- when: <% succeeded() %>
do: task4
task3:
action: pack1.task3
next:
- when: <% succeeded() %>
do: task4
task4:
action: core.noop
join: all
There will be a exception when task2 or task3 is not running due to not satisfy the condition.
UnreachableJoinError: The join task|route \"task4\" is partially satisfied but unreachable
Is there another way to meet the logic?
I have to write as following order:
task1
task4
task2 when task1 result meet condition
task3 when task1 result meet condition ```