clone

a browser-first diagram editor with live svg previews, local drafts and encrypted, accountless sharing

main
diagramzip / skills / bpmn-process / SKILL.md
SKILL.md 2.4K rendered
1---2name: bpmn-process3description: Choose BPMN when the user needs a formal business-process model with events, tasks, gateways, pools, lanes, and message or sequence flows.4---56# BPMN process78## What and why910BPMN is a business-process notation and metamodel, not merely a flowchart style. Use it for cross-organization processes, orchestration, choreography, exception events, compensation, and process-engine interchange. Use a generic flowchart or activity diagram for an informal procedure without BPMN semantics.1112## Model it13141. Define participants and process boundaries; use pools and lanes for responsibility.152. Start with start/end events and the business outcome.163. Choose tasks by business meaning, then add gateways only for real control decisions.174. Use sequence flow inside a process and message flow between participants; never conflate them.185. Model timer, error, escalation, compensation, subprocess, and data semantics only when they affect execution or understanding.1920BPMN 2.0.2 is standardized by OMG and ISO 19510. See [BPMN references](references/bpmn-standard.md).2122## Story and styling2324Make participant boundaries and the normal process path obvious. Use event markers and gateway labels consistently. Keep diagram interchange positions stable when XML is exchanged, and use restrained colors for roles or exceptions. Explain any vendor-specific extensions in a legend or note.2526## Renderer routing2728Use `bpmn` when BPMN 2.0 XML and formal interchange are required. Use `plantuml` or `mermaid` only for an intentionally BPMN-like explanatory sketch, and state that it is not BPMN interchange. `graphviz` or `d2` can show a business process but cannot preserve BPMN semantics. Preserve an explicitly requested renderer.2930## Review3132- Are pools, lanes, sequence flows, and message flows used for their intended meanings?33- Is each gateway type justified by the process behavior?34- Are event triggers and exception paths explicit?35- Are start/end events and subprocess boundaries coherent?36- Does the XML include stable IDs and diagram interchange where exchange requires it?3738## Limits and integration opportunities3940diagram.zip supports BPMN rendering, but it does not promise full BPMN conformance validation, execution semantics, vendor-extension compatibility, or process-model analysis. A BPMN 2.0.2 validator, lint ruleset, and round-trip interchange tests would be valuable integrations.