Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JOIN all with condition #248

Open
himanpishnamaz opened this issue Mar 31, 2022 · 2 comments
Open

JOIN all with condition #248

himanpishnamaz opened this issue Mar 31, 2022 · 2 comments

Comments

@himanpishnamaz
Copy link

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

@amanda11
Copy link
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
Copy link
Contributor

nzlosh commented Aug 13, 2023

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants