A process definition represents the executable logic of a workflow. It defines how a process behaves, including its sequence of steps, decision logic, and interactions with users and systems.
In Studio Modeler process definitions are created and edited within a diagram. A single diagram can contain one or more process definitions, each operating independently within its own scope.
Process definitions are always associated with a diagram, which is the visual container of the logic.
A diagram may include multiple process definitions. In such cases each process has its own scope, processes do not share data directly, and communication between them requires the use of events, such as message or error events.
You can work with process definitions using different editors:
| Editor | Description |
|---|---|
| Diagram Editor |
Use the visual editor to:
This is the most common use for most users, including business analysts and low-code developers. |
| XML Editor |
Use the XML editor to:
The XML editor is intended for advanced users. Changes made here can affect process behavior and should be validated carefully. |
| Extensions Editor |
Use the extensions editor to:
Scenarios requiring extended configuration beyond standard BPMN elements. |