Archyno
BPMNPrehľad notácie

Symboly BPMN

Každá značka, ktorú vie BPMN 2.0 dať na papier, a k čomu tým proces zaväzuje: značky činností, tri okraje udalostí, päť kosoštvorcov, dva druhy čiar, ktoré nie sú zameniteľné, a dátové symboly, ktoré takmer nikto nekreslí správne.

9 min čítaniaBPMN 2.06 z 6

RetailerCard capture, notauthorisationOrder receivedValidate orderReserve stockTake paymentShip orderOrder shipped
Five families in one picture: events at both ends, an activity in the middle, gateways that split and rejoin the flow, sequence flows connecting them, a pool naming who does the work, and an annotation that says something the notation cannot.

01Activities: the work

One shape - a rounded rectangle - carries every kind of work BPMN can describe. What changes is the marker in the corner or on the bottom edge, and those markers are where most of the meaning lives.

ElementNotationWhat it means
Taskrounded rectangle, no markerAtomic work. The process does not model anything inside it, which is a claim about this diagram rather than about reality - a task here can be a fortnight of work somebody else models elsewhere.
Subprocesssmall square plus on the bottom edgeContains a process of its own. Collapsed, the plus is all you see; expanded, the box grows and the child process is drawn inside it. The plus is the only difference from a task, and the one people miss.
Call activitythick border, plus markerA subprocess defined once and reused. The thick outline says the definition lives somewhere else, so changing it changes every caller - which is exactly the property that makes it worth the extra symbol.
Task type markerssmall icon, top-left cornerAn envelope for send and receive, a person for user, gears for service, a script scroll for script. They say who or what executes the task, and they are the difference between a picture and something an engine can run.
Loop and multi-instancecircular arrow, or three barsA circular arrow repeats the activity while a condition holds. Three vertical bars run one instance per item in a collection, three horizontal bars run them one after another.
Transactiondouble-line borderA subprocess whose steps either all complete or are all compensated. Rare in hand-drawn models and load-bearing in executable ones.

Markers stack: one activity can legitimately carry a subprocess plus, a multi-instance bar and a loop arrow at once.

02Events: the border carries the meaning

Every event is a circle. Two things vary independently: the border, which says when in the process it sits, and the glyph inside, which says what kind of thing happened.

ElementNotationWhat it means
Start eventthin single outlineWhere a token appears. A process with no start event is legal and almost always a mistake in a diagram meant to be read by a person.
Intermediate eventdouble outlineSomething happens partway through - the process waits for it (catching) or announces it (throwing). Placed on the boundary of an activity, it interrupts that activity.
End eventthick single outlineA token is consumed. Several end events on one process are normal and good: they name the distinct ways it can finish.
Messageenvelope glyphSomething arrived from, or was sent to, another participant.
Timerclock glyphA date, a duration or a recurring schedule fired.
Errorlightning bolt glyphSomething failed in a way the process has a plan for. On an activity boundary it is the notation's exception handler.

Filled glyphs throw, hollow glyphs catch, and the full set runs to a dozen triggers. They have an article of their own: BPMN events covers the two axes, boundary events and the interrupting distinction in detail.

03Gateways: the rhombi

A gateway never does work. It only decides how many of the paths leaving it carry a token, and the marker inside it is the whole statement.

ElementNotationWhat it means
ExclusiveX, or an empty rhombusExactly one outgoing path. The blank rhombus means the same thing, which is why an empty one is never ambiguous, only less explicit.
ParallelplusEvery outgoing path, always, no conditions. As a join it waits for all incoming paths before continuing.
InclusivecircleOne or more paths, whichever conditions hold. The most expressive of the five and the easiest to deadlock.
Event-basedpentagon in a double ringDecides nothing. It waits, and whichever of the events downstream fires first takes the token.
ComplexasteriskAn escape hatch for conditions the other four cannot express. If you need it, write the rule in an annotation beside it - nobody reads an asterisk the same way twice.

Splitting and merging, default flows and the classic inclusive deadlock are in BPMN gateways.

04Connecting objects: three lines, never interchangeable

This is the shortest table on the page and the one that decides whether a diagram is correct. Two of these lines look similar at a glance and mean entirely different things.

ElementNotationWhat it means
Sequence flowSolid line, filled arrowhead. The order of steps within one pool. It may never cross a pool boundary, and that single rule is what makes pools mean anything.
Message flowDashed line, open circle at the tail, hollow arrowhead. Communication between pools. It says nothing about order inside either one.
AssociationDotted line. Ties an annotation or a data object to whatever it is about. Carries no control flow whatsoever.
Default flowsequence flow with a slash at the tailTaken when no other outgoing condition holds. The notation's guarantee that a token is never stranded at a gateway.
Conditional flowsequence flow with a hollow diamond at the tailTaken only if its condition is true. Redundant leaving a gateway, which already carries conditions - it earns its place leaving an activity directly.

A sequence flow crossing a pool boundary is not a stylistic slip. It is invalid BPMN, and an engine will reject it.

05Pools, lanes and the black box

RetailerPayment providerinvoicepaymentInvoice dueSend invoicePaymentreceivedClose invoiceInvoice settled
The payment provider is a collapsed pool: a participant the process talks to, whose internals are deliberately not modelled. Emptiness is the notation here, not an unfinished diagram.

A pool is a participant - an organisation, or any process with control flow of its own. A lane subdivides one pool, usually by role or department. The difference is not cosmetic: steps in two lanes of one pool are joined by sequence flow, and steps in two pools can only exchange messages.

A pool drawn with nothing inside it is a black box, and it is a deliberate statement rather than an omission. It says this participant matters, we exchange these messages with it, and how it works internally is none of this diagram's business. Modelling a customer's decision-making as though you could observe it is the failure this shape exists to prevent.

06Data objects and artifacts

The family that gets left off most diagrams, sometimes rightly. These symbols carry no control flow - a process runs identically with every one of them deleted - so they earn their place only when the reader's question is about information rather than order.

ElementNotationWhat it means
Data objectpage with a folded top-right cornerInformation an activity produces or needs. A small arrow in the corner marks it as a data input or output.
Data storecylinderSomething that outlives the process instance - a database, a filing cabinet. The distinction from a data object is lifetime, not technology.
Text annotationopen bracket with text beside itA note tied to any element by a dotted association. Where the rule a symbol cannot express gets written down, and the most underused mark in BPMN.
Groupdashed rounded rectangleA visual bracket around related elements. Crosses pools freely because it means nothing to the execution - purely for the reader.

07The subset worth memorising

BPMN 2.0 defines well over a hundred distinct marks, and no working modeller uses more than a fraction. The specification itself acknowledges this by defining a descriptive conformance class, and it is close to the list below.

  1. Task - rounded rectangle. Work happens here.
  2. Start and end events - thin circle, thick circle. Where tokens appear and are consumed.
  3. Exclusive gateway - rhombus with an X. One path out.
  4. Parallel gateway - rhombus with a plus. All paths out.
  5. Sequence flow - solid arrow. Order within a pool.
  6. Message flow - dashed arrow. Communication between pools.
  7. Pool and lane - who does the work.

Everything else is reached for when a specific question demands it. A diagram built from those seven is readable by anyone who has seen BPMN once, and that is worth considerably more than a diagram that is technically richer and gets skipped.

In one line each

  1. 01One rounded rectangle is every kind of work; the marker on it says which kind.
  2. 02Event border says when - thin start, double intermediate, thick end. Glyph says what.
  3. 03The marker in a rhombus says how many outgoing paths carry a token, and nothing else.
  4. 04Solid arrow inside a pool, dashed arrow between pools. Crossing a boundary with a solid one is invalid.
  5. 05A plus in a rhombus and a plus on a box edge are unrelated marks.
  6. 06An empty pool is a black box: a participant deliberately not modelled.
  7. 07Seven symbols cover almost every diagram worth drawing.

These symbols on real processes are in the worked BPMN examples, and the order to put them down in is in how to draw a BPMN diagram.

08Časté otázky

Koľko symbolov má BPMN?

BPMN 2.0 ich definuje výrazne vyše sto, ak sa každý spúšťač udalosti, značka činnosti a variant brány počítajú zvlášť. Číslo, na ktorom záleží, je oveľa menšie: zhruba tucet tvarov nesie drvivú väčšinu skutočných diagramov a kto pozná úlohu, tri okraje udalostí, výlučnú a paralelnú bránu, dva druhy tokov a bazén, prečíta takmer čokoľvek.

Aký je rozdiel medzi úlohou a podprocesom v BPMN?

Úloha je atomická - proces vnútri nej nič nemodeluje. Podproces obsahuje vlastný proces a kreslí sa ako ten istý zaoblený obdĺžnik s malým štvorčekom so znamienkom plus na spodnej hrane. Zbalený ten detail skrýva, rozbalený sa box zväčší a podriadený proces sa nakreslí dovnútra. Plus je jediný vizuálny rozdiel, a preto ho ľudia tak často prehliadnu.

Čo znamená znamienko plus vnútri tvaru BPMN?

Závisí to výhradne od tvaru, ktorý ho nesie, a je to najčastejší zdroj zmätku v celej notácii. Plus v kosoštvorci je paralelná brána, ktorá rozdelí jeden token na niekoľko. Plus v malom štvorčeku na spodnej hrane zaobleného obdĺžnika je značka podprocesu, ktorá hovorí, že činnosť má vnútri vlastný proces. Tie dve veci spolu nesúvisia.

Čo znamená lomka na sekvenčnom toku v BPMN?

Krátka šikmá lomka pri začiatku sekvenčného toku ho označuje ako predvolený tok. Je to cesta, ktorá sa zvolí, keď žiadna iná odchádzajúca podmienka na danej bráne či činnosti neplatí, a je to spôsob, akým notácia zaručuje, že token nikdy neuviazne. Malý prázdny kosoštvorec na začiatku je opačná značka: podmienený tok, ktorý sa použije len ak podmienka platí.

Ktoré symboly BPMN sa treba naučiť ako prvé?

Šesť, a unesú prvý skutočný diagram: zaoblený obdĺžnik pre úlohu, tenký krúžok pre počiatočnú udalosť, hrubý krúžok pre koncovú udalosť, kosoštvorec s X pre výlučnú bránu, plnú šípku pre sekvenčný tok a bazén pre účastníka. Pridajte paralelnú bránu a prerušovanú šípku toku správ a zvládnete väčšinu spoluprác.

ZdieľaťXLinkedIn
Všetky články: BPMN
Všetky články