Details

    • Type: Sub-task
    • Status: Done
    • Priority: L3 - Default
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.5.0-alpha2
    • Component/s: backend
    • Labels:
      None

      Description

      AT:
      UserTasks:

      • for running user tasks that are not claimed yet: the idleTime should be from the startDate to the current time, workTime is null
      • for running user tasks that are claimed but not completed yet: in that case the idleTime is set fixed in the import, the workTime should be from the claim time to the current time
      • for completed user tasks: idleTime and workTime are set and imported with the CompletedUserTaskImporter

      FlowNodes:

      • running flow nodes: duration = from start date to current time
      • for completed flow nodes: durationInMs

      Info:
      To implement this in the elasticsearch request we use scripted fields where we can define what values are considered for calculating the metrics, e.g.:
      to take idleTime for claimed usertasks if the value exists, and if not, to take the calculated value of current time of the request minus the start time.
      Similarly with the workTime and the end date.
      Together with Felix we agreed to approach it in this way and to consider also doing it for running process durations in the future.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            michael.wagner Michael Wagner
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: