Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-2587

Calculate exact idle and work times for user tasks

    XMLWordPrintable

Details

    Description

      Based on the new identity link imported history data (which includes for example entries of operation type 'add' when a user claims a task and 'delete' when a user unclaims a task) it is possible to calculate the exact idle and work times.

      Previously this idle and work time was calculated with only taking the first Claim into account.

      AT:

      • the exact idle and work time for user tasks is being calculated

       

      Context For Testing:

      Previously, usertask duration calculations only took into account the very first claim date. Everything between start and first claim date was counted as idle time and everything between first claim date and end was counted as work time, even if there were further unclaim/claim operations in between. Ie the work and idle times of these two userTasks would be the same, assuming the endDate and first claim happens at the same time in both cases (ignore the strikethrough, I cant figure out how to format correctly) :

      Start -1> claim --2-> end

      Start -1> claim --2> unclaim --3> claim --4-> end 

      With the new calculations, all the timeslots the usertask is unassigned is counted as idle time (1 + 3) and all the timeslots the userTask is assigned is counted as work (2 + 4).

      The following exception exist:

      Start --> End (completed): All time is work time, idle time is 0. The assumption is that tasks are "worked on" programmatically. Note that if the userTask is cancelled (Start --> End, cancelled), all time is idle time and work time is 0.

       

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                michael.wagner Michael
                Helene Waechtler Helene Waechtler
                Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce