Event

End Event

End

The end event terminates a token. When a token reaches an end event, it is consumed. If it is the last active token in the instance, the instance transitions to completed.

In processes with parallel branches (parallel or inclusive gateways), each branch has its own token. All tokens must reach an end event before the instance completes.

Properties

PropertyTypeRequiredDescription
IDstringyesUnique identifier within the process
NamestringnoDisplay label

XML Example

<bpmn:endEvent id="end" name="End">
  <bpmn:incoming>flow_from_last_task</bpmn:incoming>
</bpmn:endEvent>

Checking Instance State

GET /api/v1/instances/{instance_id}

When all tokens have been consumed, the response shows:

{
  "id": "...",
  "status": "completed",
  "completed_at": "2026-05-01T12:34:56Z"
}