Details
-
Sub-task
-
Resolution: Fixed
-
L3 - Default
-
None
-
Not defined
Description
We need to support evaluation of duration reports aggregated by a given percentile.
API change:
data: ... configuration: ... aggregationTypes: [ { "aggType": "avg", "aggValue": null }, { "aggType": "max", "aggValue": null }, { "aggType": "percentile", "aggValue": 98 } ]
ATs:
- Report evaluation of process duration grouped by start/end date aggregated by percentile is supported
- Multiprocess reports cannot support this aggregation
- Multiple percentile aggregations can be applied
- percentile aggregations can be applied in multi-aggregation reports in combination with other aggregations
- API Documentation is updated Existing reports are migrated to use new aggregation types structure
Testing notes:
- We should test that invalid aggregations cannot be passed (i.e. the agg value must be between 0-100)
- We need to to test the following reports (I think this should work for all):
- Process instance durations
- User task durations
- Incident durations
- Variable durations
- This does not work when the report is grouped by process. The option should not be available in the FE
- CSV exports should also work
- This is a large change, if there is any unexpected behaviour or visual weirdness even, please highlight
- Sending alerts for percentile reports
- We should test that previous reports making use of duration aggregations still work after updating to 3.8.0