StackStorm / StackStorm/orquesta

JOIN all with condition

Open
#248 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
111
Forks
44
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the workflow with a conditional task, two possible downstream tasks, and barrier_task, first taking both branches and then taking only one. Start from the reported UnreachableJoinError and compare how the join behaves in each case; done means the selected branch can reach barrier_task successfully while the both-branches case continues to wait for both tasks.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.