Skip to content

JOIN all with condition #248

Open
Open
@himanpishnamaz

Description

@himanpishnamaz

Hi.

In my workflow I have a task with two condition that can call 2 separate tasks base on condition result.and then I have a barrier_task to wait for all previous task to be finished and then move to next task.

When my task condition is calling both tasks and both tasks calling barrier_task workflow is working and barrier_task will wait until both tasks will finish and then move to next tasks but problem is , when my condition is calling one of two tasks and then that task call barrier_task , workflow will fail and the error is this

"errors": [
{
"type": "error",
"message": "UnreachableJoinError: The join task|route "barrier_task|0" is partially satisfied but unreachable.",
"task_id": "barrier_task",
"route": 0
}
]

Is there a fix for these problem please ?

thanks

Activity

amanda11

amanda11 commented on Mar 31, 2022

@amanda11
Contributor

When you move to your barrier_task from your preceding tasks, do you tell it to go there on failed or just succeeded? The default behaviour will be to stop on failure. So I'm wondering if you are missing a transition to the barrier task on failure?
See https://docs.stackstorm.com/orquesta/languages/orquesta.html#task-model for some further information.

nzlosh

nzlosh commented on Aug 13, 2023

@nzlosh
Contributor

Is this still an issue or were you able to resolve the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @nzlosh@amanda11@himanpishnamaz

        Issue actions

          JOIN all with condition · Issue #248 · StackStorm/orquesta