• Icon: Feature Part Feature Part
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 2.2.0
    • None
    • backend
    • None

      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

        This is the controller panel for Smart Panels app

            [OPT-1428] I can request the total duration between two flow nodes using the REST-API

            Johannes added a comment -

            Hints:

            • The ReportEvaluator was refactored to simplify how to find the right report evaluation command
            • I had to add two date fields (start date and end date) to the events field in the process instance type so I can calculate the process part.

            Johannes added a comment - Hints: The ReportEvaluator was refactored to simplify how to find the right report evaluation command I had to add two date fields (start date and end date) to the events field in the process instance type so I can calculate the process part.

            Review hints:

            • We should cover the case when one of the events doesn't have the needed timestamp (start date for the start event/end date for the end event of the process part)
            • We should cover the case when the first occurrence of the end event of the process part is earlier then the first occurrence of the start event

            Kyrylo Zakurdaiev added a comment - Review hints: We should cover the case when one of the events doesn't have the needed timestamp (start date for the start event/end date for the end event of the process part) We should cover the case when the first occurrence of the end event of the process part is earlier then the first occurrence of the start event

              Unassigned Unassigned
              johannes.heinemann Johannes
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: