Get flow node statistic by process instance id
GEThttp://localhost:8080/v1/process-instances/:key/statistics
Get flow node statistic by process instance id
Request​
Path Parameters
key int64required
Key of process instance
Responses​
- 200
- 400
- 403
- 404
- 500
Success. Returns statistics for the given process instance, grouped by flow nodes
- application/json
- Schema
- Example (auto)
Schema
- Array [
- ]
activityIdstring
The id of the flow node for which the results are aggregated
activeint64
The total number of active instances of the flow node
canceledint64
The total number of canceled instances of the flow node
incidentsint64
The total number of incidents for the flow node
completedint64
The total number of completed instances of the flow node
[
{
"activityId": "string",
"active": 0,
"canceled": 0,
"incidents": 0,
"completed": 0
}
]
Invalid request
- application/problem+json
- Schema
- Example (auto)
Schema
statusint32
messagestring
instancestring
typestring
{
"status": 0,
"message": "string",
"instance": "string",
"type": "string"
}
Forbidden
- */*
- Schema
- Example (auto)
Schema
statusint32
messagestring
instancestring
typestring
{
"status": 0,
"message": "string",
"instance": "string",
"type": "string"
}
Requested resource not found
- application/problem+json
- Schema
- Example (auto)
Schema
statusint32
messagestring
instancestring
typestring
{
"status": 0,
"message": "string",
"instance": "string",
"type": "string"
}
API application error
- application/problem+json
- Schema
- Example (auto)
Schema
statusint32
messagestring
instancestring
typestring
{
"status": 0,
"message": "string",
"instance": "string",
"type": "string"
}
Authorization: http
name: bearer-keytype: httpscheme: bearerbearerFormat: JWT
- curl
- java
- nodejs
- csharp
- python
- go
- CURL
curl -L 'http://localhost:8080/v1/process-instances/:key/statistics' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <token>'