Retrieve the details of a process instance
GET /process-instances/:key
Retrieve the details of a process instance. Note that this data may lag behind the actual process instance's status, but is eventually consistent.
Path Parameters
- key int64 required
Key (unique identifier) of the process instance
- 200
- 404
- 503
The details of the process instance.
- application/json
- Schema
- Example (from schema)
Schema
data object
A process instance
processDefinitionKey int64Key of the process which this instance belongs to
bpmnProcessId stringBPMN process id of the process which this instance belongs to
version integerVersion of the process which this instance belongs to
processInstanceKey int64Unique key of the process instance on the partition
parentInstanceKey int64Unique key of the process instance which this instance is a part of (e.g. called from call activity), or null if it has no parent instance
status stringPossible values: [
activated
,has_incident
,completed
,terminated
]The status of the process instance
startedAt stringTimestamp when the process instance was started, in ISO 8601 representation
endedAt stringTimestamp when the process instance was ended, in ISO 8601 representation, or null if it has yet ended
- error string
{
"data": {
"processDefinitionKey": 0,
"bpmnProcessId": "string",
"version": 0,
"processInstanceKey": 0,
"parentInstanceKey": 0,
"status": "activated",
"startedAt": "string",
"endedAt": "string"
},
"error": "string"
}
Unable to find the process instance. Are you sure an instance with this key was created? Note that this data may lag behind due to eventual consistency. Please try this request again in a few moments.
Unable to connect to Operate