AT:
- I can evaluate the total duration between two flow nodes using the REST-API
- The view needs to be set to process instance duration and the groupBy set to none
- The duration states the time from the start of the first flow node to the end time of the second flow node
- If there are more instances of the start flow node and end flow node, the following algorithm applies to fetch the correct instances:
- select the youngest start flow node instance
- find the end flow node instance, which has the closest start time to the start flow node instance