Retrieves runtime statistics of the latest version of the given process definition which belongs to no tenant, grouped by activities. These statistics include the number of running activity instances, optionally the number of failed jobs and also optionally the number of incidents either grouped by incident types or for a specific incident type. Note: This does not include historic data.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
The key of the process definition (the latest version thereof) to be retrieved.
Whether to include the number of failed jobs in the result or not. Valid values are true or false.
Valid values for this property are true or false.
If this property has been set to true the result will include the corresponding number of incidents
for each occurred incident type.
If it is set to false, the incidents will not be included in the result.
Cannot be used in combination with incidentsForType.
If this property has been set with any incident type (i.e., a string value) the result
will only include the number of incidents for the assigned incident type.
Cannot be used in combination with incidents.
See the User Guide
for a list of incident types.
Request successful.
The id of the activity the results are aggregated for.
The total number of running process instances of this activity.
The total number of failed jobs for the running instances.
Note: Will be 0 (not null), if failed jobs were excluded.
Each item in the resulting array is an object which contains incidentType and incidentCount.
Note: Will be an empty array, if incidents or incidentsForType were excluded.
Furthermore, the array will be also empty if no incidents were found.
The fully qualified class name of the data transfer object class. The class name might change in future releases.