get_process_definition_xml
Fetch the BPMN XML blueprint of a process definition using its ID to analyze workflow logic, gateway conditions, error boundaries, and timer events.
Instructions
Fetch the BPMN XML model for a process definition. This is the blueprint — it shows the expected flow of the process.
Use the definitionId from get_process_instance to fetch the model. The XML includes all activities, gateways, sequence flows, and conditions. Diagram layout elements are stripped for readability.
Read the XML to understand:
The expected happy path (sequence of activities)
Gateway conditions (what determines which path is taken)
Error boundary events (what happens when activities fail)
Timer events (scheduled waits or timeouts)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| processDefinitionId | Yes | The process definition ID (from definitionId field of a process instance) |