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
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| processInstanceId | Yes | The process instance ID to trace |