cancel
Showing results for 
Search instead for 
Did you mean: 

How can I merge different sequence flows into a single one ?

cnirparis
Champ in-the-making
Champ in-the-making
Hello,
How can I join different sequence flows into a single one (all of them must go to the same subprocess, and I want only one entrance point to it) ?
This is purely logical, there is no parallel execution involved, it's just for avoiding multiple sequence flows going to the same place.
It seems it doesn't exists a BPMN "connector" between sequence flows.

I've tried to put an exclusive gateway with two ingoing flows and one outgoing flow, but I get an error message when I load the process in Activiti :
"Exclusive gateway has at least one outgoing sequence flow without a condition"

Thank you if you have an idea.
6 REPLIES 6

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

there are plenty of examples in the usage of exclusive gateway in activiti source. Can you check e.g. org/activiti/engine/test/api/repository/diagram/testProcessFromActivitiDesigner.bpmn20.xml

Regards
Martin

cnirparis
Champ in-the-making
Champ in-the-making
Thank you very much, but this not an answer !

jbarrez
Star Contributor
Star Contributor
Why is it not the answer? It is what I would answer.

""Exclusive gateway has at least one outgoing sequence flow without a condition""

Which means you have one outgoing sequence flow without condition. Give it the default market if it does't have a condition.

cnirparis
Champ in-the-making
Champ in-the-making
Thank you for your (non-) answer.
What I mean is that the possibility of using an exclusive gatway as a sequence flow "connector" is not documented. I think it should exists a specific component for that, and not a gateway, which depends on conditions. By the way, when I watch the forum I think that there would be much less questions if Activiti documentation were more complete in a functional point of view.

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

any pull request is welcome.

Regards
Martin

jbarrez
Star Contributor
Star Contributor
> Thank you for your (non-) answer.

I'm really not sure what you are expecting. The exclusive gateway is a BPMN 2.0 standard element. Any BPMN 2.0 explanation will teach you how to use, including the way you need it.

Should Activiti start documenting BPMN 2.0 fully? In an ideal world, yes. But we rather focus on building the best engine to execute it and use the many BPMN resources/trainings/books/articles that exist today to learn BPMN.

> I think it should exists a specific component for that, and not a gateway, which depends on conditions.

You mean something outside of the BPMN specification?

> By the way, when I watch the forum I think that there would be much less questions if Activiti documentation were more complete in a
> functional point of view.

It saddens me to hear it. Luckily many users are happy with it and do think the documentation is good.
Of course, the job is never done… as Martin says, feel free to help us out with any pull request.