cancel
Showing results for 
Search instead for 
Did you mean: 

End event semantics

erny18031
Champ in-the-making
Champ in-the-making
Hello.

Is it right that a process instance is active meanwhile there are pending user tasks or jobs?

Consider e.g. a process with two parallel paths and two end events. This means that the process is not concluded (and not deleted from act_ru_*) when the first end event is reached?

Does the following "process termination" definition apply: "End events consume tokens generated by the start event and any parallel constructs (paths, loops, gateways). The process instance has ended when there are no more tokens active."

Although the documentation states that the current path "ends":
http://activiti.org/userguide/index.html#bpmnEndEvent
it was not completely clear to me.

What does the BPMN standard tell about end events?


Thanks
Erny
2 REPLIES 2

dognose
Champ in-the-making
Champ in-the-making
About the implementation of Activiti you are right:

if you enter a parallel gateway, the process will first end, if both ways are either joined (and come to an end), or both have an end-event.

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
What does the BPMN standard tell about end events?
That can ofcourse be found using google… The pdf of the spec is publically available