flowable / flowable/flowable-engine

Parallel Gateway continues if multiple tokens are received on the same path

Abierto
#4,166 3 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Java
Estrellas
9.5k
Forks
2.9k
Merge medio
7 h 8 min
PR fusionados (30 d)
2

Descripción

**Describe the bug**
I have a process with a parallel gateway that waits on two branches, one of which has a loop which checks every hour whether a variable is true.
I would expect that the gateway waits for both branches to complete before proceeding, but it actually proceeds if the same branch completes twice.

This can happen because a Message Catch Event can spawn a new token, which gets sent down the same branch again.

Image

**Expected behavior**
I would expect the parallel gateway to wait for a token from each branch to arrive, rather than just waiting for 2 tokens to arrive from the same branch.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Comienza reproduciendo el proceso descrito: un parallel gateway con dos ramas, incluido un bucle y un Message Catch Event que puede enviar varios tokens por una rama. Rastrea cómo el gateway cuenta los tokens entrantes y distingue las ramas. Se considera terminado cuando el gateway solo continúa después de recibir un token de cada rama, incluso cuando una rama recibe varios tokens.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
java
Área
backend
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.