Syntax

Events

Start, end and wait with plain, message, timer, link and other event types.

A start, end, catch or throw event can take a type after a colon, such as start:message or end:terminate. Without a type you get a plain event.

The types are message, timer, error, signal, conditional, escalation, terminate, compensation, link, cancel, multiple and parallel.

This process starts every week, waits for a message and sends a signal:

Flowmark
process Weekly stock count

start:timer(R/P1W) Week started
manual Count stock
send Send count to purchasing
catch:message Purchasing confirmed
throw:signal Stock levels updated
end Count closed

Name events as a state, such as "Order received" or "Invoice paid".

Set a timer

Write a timer's value in parentheses right after the type. It's an ISO 8601 value or a date the case holds, and the first character tells the app which of four kinds it is:

You wantStarts withExample line
A wait (duration)Pcatch:timer(P2D) Two days passed or catch:timer(P1DT12H) Wait over
A fixed datea digitstart:timer(2026-12-31T09:00:00Z) Year end reached
A repeating cycleRstart:timer(R/P1W) Week started or start:timer(R3/PT10M) Retry due
A date each case holds$catch:timer(${startDate}) First day arrives

In the BPMN XML these become a time duration, time date and time cycle; a date each case holds is a time date that names the field, such as the start date on a new hire's record. A timer with no value parses, but the checks warn that it has no duration, date or cycle.

Share a message, signal or error

A message, signal, error or escalation event sends or waits for something with a name. By default that's the event's own name. When the event's name says something else, write the shared name in parentheses after the type:

Flowmark
process Order cancellation

start:message Cancellation requested
call Cancel order
  on:error(Order already shipped) Too late -> Tell customer
throw:signal(Order cancelled) Tell warehouse
end Order cancelled

send Tell customer
end Cancellation refused

Too late catches the error named "Order already shipped". The called process throws it with end:error(Order already shipped) Shipped already. Tell warehouse sends the signal "Order cancelled" to whoever waits for it.

Events with the same name share it. In the BPMN XML, every event that shares a name points to one bpmn:message, bpmn:signal, bpmn:error or bpmn:escalation of that name. Importing a file keeps those names.

A link event joins two places in a process without an arrow between them, like an off-page connector. Use it to break a long process into rows, or to stop a path crossing the whole diagram.

A throw:link ends its path. The path goes on at the catch:link of the same name.

Flowmark
process Order shipping
lanes Sales | Warehouse

lane Sales
start Order received
user Check order
service Take payment
throw:link Packing

lane Warehouse
catch:link Packing
user Pick items
user Pack parcel
end Order shipped
  • Like an end event, a link throw never continues to the next line. So a catch can sit right below it.
  • Several throws can lead to one catch, but each catch needs its own name.
  • An arrow by name points to the throw, since nothing leads into a catch but its throws.
  • The name in parentheses works here too. throw:link(Packing) Go to packing leads to catch:link(Packing) From sales.

Several triggers (multiple events)

A multiple event has several triggers. multiple fires on whichever comes first, and parallel waits for all of them. The app draws them with a pentagon and a plus.

Flowmark
process Insurance claim

start:multiple Claim reported
user Assess claim
catch:parallel Report and photos received
user Settle claim
throw:multiple Parties told
end Claim settled

The app keeps that an event has several triggers, not which ones. In the BPMN XML it writes a message and a signal definition, with parallelMultiple set for parallel.

When you import an event whose triggers carry more, such as a named message or a timer's duration, it stays a multiple event. The app says what it left out.

Cancel a transaction

end:cancel and the boundary event on:cancel cancel a transaction. A transaction (sub:transaction) is a sub-process whose steps succeed or are undone together, such as booking a flight and a hotel.

A cancel boundary event always stops its task, so on~cancel isn't allowed. The checks add a style note on a cancel event outside a transaction, since an error event says the same there.

Which types fit where

Flowmark reads any type on any event, but BPMN is stricter. A start event can be plain, message, timer, signal, conditional, multiple or parallel. An end event can't be a timer, conditional, link or parallel.

The start of an event sub-process can also be an error, escalation or compensation start. It catches what the work round it throws.

The checks report an error when one of these types is in the wrong place:

TypeStartCatchThrowEndBoundary
linkYesYes
cancelYesYes
multipleYesYesYesYesYes
parallelYesYesYes
error, escalation, compensationIn an event sub-processYesYes

For other types in the wrong place, such as a timer on an end event, the checks say nothing.

For an event on the edge of a task, such as a deadline, see Boundary events.

On this page