get_activity_history
Retrieve the execution trace for a CIB Seven process instance to analyze activity sequence, timing, duration, and identify currently running or canceled tasks.
Instructions
Get the execution trace for a process instance — every activity that ran, in order.
This shows you exactly what happened: which tasks executed, in what order, and how long each took. Activities with a startTime but no endTime are currently executing or waiting.
Key fields:
activityType: startEvent, serviceTask, userTask, exclusiveGateway, etc.
activityName: human-readable name from the BPMN model
startTime/endTime: when the activity started and finished
durationInMillis: how long it took (null if still running)
canceled: true if the activity was interrupted
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"processInstanceId": "<processInstanceId>"
},
"name": "get_activity_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| processInstanceId | Yes | The process instance ID to trace |