Method
GET
GET /process-definition/key/{key}/statistics
(returns statistics for the latest version of the process definition which belongs to no tenant)
GET /process-definition/key/{key}/tenant-id/{tenant-id}/statistics
(returns statistics for the latest version of process definition for tenant)
Parameters
Query Parameters
Result
A JSON array containing statistics results per activity.Each object has the following properties:
- incidentType: The type of the incident the number of incidents is aggregated for. See the for a list of incident types.
- incidentCount: The total number of incidents for the corresponding incident type.Note: Will be an empty array, if
incidents
or were excluded. Furthermore, the array will be also empty if no incidents were found.
Response Codes
Examples
GET /process-definition/aProcessDefinitionId/statistics?failedJobs=true
GET /process-definition/key/aProcessDefinitionKey/statistics?failedJobs=true
Response
GET /process-definition/key/aProcessDefinitionKey/statistics?incidents=true
Response
GET
GET /process-definition/key/aProcessDefinitionKey/statistics?incidentsForType=anIncident