-
Feature Request
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
AT:
- given:
- Optimize and the engine are configured and up running
- I defined a report and stored it in Optimize with,e.g., id "report1"
- when:
- I evaluate the report with the given id, e.g. "report1" using the evaluate rest-api
- Or I pass a complete new report definition and evaluate it using the evaluate rest-api
- the report is configured with "view":
- operation: 'avg'
- entity: 'processInstance'
- property: 'duration'
- the report is configured with "groupBy" as "startDate"
- then:
- I get a response containing:
- all the report data information
- a result, which is a map containing the dates as keys and the average duration of the process instances started at this date as a value
- I get a response containing:
Hint:
The whole rest endpoint is already defined here:
https://github.com/camunda/camunda-optimize/wiki/REST-API-documentation#evaluate-a-report