Get flow node statistic by process instance id
GET/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 (from schema)
Schema
- Array [
- ]
activityId string
The id of the flow node for which the results are aggregated
active int64
The total number of active instances of the flow node
canceled int64
The total number of canceled instances of the flow node
incidents int64
The total number of incidents for the flow node
completed int64
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 (from schema)
Schema
status int32
message string
instance string
type string
{
"status": 0,
"message": "string",
"instance": "string",
"type": "string"
}
Forbidden
- */*
- Schema
- Example (from schema)
Schema
status int32
message string
instance string
type string
{
"status": 0,
"message": "string",
"instance": "string",
"type": "string"
}
Requested resource not found
- application/problem+json
- Schema
- Example (from schema)
Schema
status int32
message string
instance string
type string
{
"status": 0,
"message": "string",
"instance": "string",
"type": "string"
}
API application error
- application/problem+json
- Schema
- Example (from schema)
Schema
status int32
message string
instance string
type string
{
"status": 0,
"message": "string",
"instance": "string",
"type": "string"
}
Loading...