The process definition XML describes how a process is represented in BPMN format. It defines the core attributes and metadata required for the process to be executed and integrated with other systems.
In Studio Modeler, processes are created and managed visually. The XML representation reflects these configurations in a structured, machine-readable format. Understanding this structure is useful in advanced scenarios such as troubleshooting, export/import operations, or integrations.
A process definition is represented by the <bpmn2:process> element. The following is an example:
<bpmn2:process id="Process_1w18m9x" name="request-process" isExecutable="false">
<bpmn2:documentation>A process to request stock orders</bpmn2:documentation>
In this structure:
| Attribute | Description |
|---|---|
| id | Represents the unique identifier of the process, which corresponds to the Process Definition Key in the UI. |
| name | Represents the process name, which corresponds to the Process Definition Name in the UI. |
| isExecutable | Determines whether the process can be executed, which corresponds to the Executable in the UI. |
| documentation | Represents a description of the process, which corresponds to the Documentation in the UI. |