Element errors

Errors about where events, messages, sub-processes and lanes can go in a BPMN process, with how to fix each one.

These errors are about elements in a place BPMN doesn't allow: an event of the wrong type, a message between the wrong ends, a flow across levels, or a step in the wrong lane. Each one says what it means and how to fix it. Those marked as work left to finish are listed under To finish until you've done them.

Event can't be this type

BPMN allows each event type only in some places:

  • A link event is a catch or a throw.
  • A cancel event is an end or boundary event.
  • A parallel multiple event is a start, catch or boundary event.
  • A start event can't be a link or cancel event.
  • An error, escalation or compensation start belongs inside an event sub-process.

Change the event's type, or its kind. See Which types fit where.

Boundary event isn't attached to an activity

A boundary event, such as a timer, error or message on a task's border, must sit on an activity. This error shows when it's attached to nothing, or to something that isn't an activity, such as a gateway. Delete it and attach a new one to the right task.

A message connects two ends in one party

Messages go between parties: your process and an outside pool, or two outside pools. Each end is the pool itself or one of its steps. Between two steps of the process, or two steps of one pool, use a sequence flow instead.

A step can't send or receive this message

Gateways can't send or receive messages. An event can only go one way: start, catch and boundary events receive, and throw and end events send. An event with another type, such as a timer, has to become a message event first.

Move the message to a task or a message event, or change the step's type.

Sub-process has no start or end event inside

A sub-process with steps inside runs them as a path of its own, from a start event to an end event. Add the one that's missing inside it. This is work left to finish. See Sub-processes.

Start event inside a sub-process has a trigger, or one in an event sub-process has none

A sub-process starts when the flow reaches it, so the start inside it is a plain start. An event sub-process starts when something happens, so its start says what: start:message Order cancelled. Change the start, or the sub-process's kind.

An event sub-process has one start event. Keep one, or make it a multiple start. A start with no trigger in an event sub-process is work left to finish.

Flow joins steps at different levels

A flow joins a step inside a sub-process to one outside it. Flows stay at one level. Point to the sub-process itself, or leave it early through a boundary event on it.

A flow also can't join a step of your process to a pool's own step, or steps of two pools. Between parties, send a message instead.

Event sub-process has flows in or out

An event sub-process starts on its own start event's trigger, not on a flow, and isn't on any path. Remove its arrows.

Compensation event points at several activities

A compensation event says which one activity undoes its task. Keep one arrow from it and remove the others. See Undo a task.

Compensation event points at something that isn't an activity

The activity a compensation event points at is the one that undoes its task. It has to be a task, sub-process or call activity. Point it at the step that does the undoing.

Step is in a lane that's split into lanes

A lane with lanes inside it holds its steps through them, so a step can't sit in the outer lane itself. Move the step into one of the inner lanes. See Lanes inside a lane.

On this page