Skip to content
GitHub

What is BPMN?

Business Process Model and Notation (BPMN) is an internationally recognised standard (ISO 19510) maintained by the Object Management Group (OMG). It gives business analysts and developers a shared visual language for describing workflows — from a simple approval flow to a multi-department order-fulfilment pipeline.

Because BPMN diagrams are backed by a well-defined XML schema, a diagram is not just documentation: it is an executable specification. Engines such as Fleans parse that XML and run the process exactly as drawn.

Every BPMN diagram is built from just four categories of symbols.

FamilyShapePurposeExamples
EventsCircleSomething that happens — starts, interrupts, or ends a processStart Event, Timer, Message, End Event
ActivitiesRounded rectangleA unit of work the engine executesScript Task, User Task, Call Activity, Sub-Process
GatewaysDiamondA routing decision that splits or merges the flowExclusive (XOR), Parallel (AND), Inclusive (OR)
FlowsArrowConnects the above elements in sequenceSequence Flow, Message Flow

The simplest possible BPMN process is a start event, one task, and an end event connected by sequence flows. Add one exclusive gateway and you can already model a real approval:

A start event, a user task, an exclusive gateway and a script task joined by sequence flows, ending in one of two end events. Open interactive diagram ↗

In practice you also layer in parallel gateways, intermediate events for waiting on timers or messages, and sub-processes for encapsulating reusable logic.