End Event
Marks a point where a process instance (or one of its branches) completes.
An end event is drawn as a thick-bordered circle and has no outgoing sequence flow — the process path stops there.
A process can have multiple end events, one for each distinct outcome (approved, rejected, cancelled). An error end event marks a path that terminates abnormally, distinct from a normal completion.
Example
Bpmn.createProcess("approval")
.startEvent("start")
.userTask("review")
.exclusiveGateway("gw")
.branch("approved", (b) => b.condition("= true").endEvent("end-approved"))
.branch("rejected", (b) => b.defaultFlow().endEvent("end-rejected"))
.withAutoLayout()
.build();
Try it hands-on: Your first BPMN diagram →