Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-1659

As Dev I can get statistics about historic activity instances for a specific process definition id

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.1.0, 7.1.0-alpha2
    • Component/s: engine
    • Labels:

      Description

      AT:

      • it is possible to create a HistoricActivityInstanceQuery: `historyService.createHistoricActivityQuery()`
      • it is possible to query after:
      • per default it filters after the number of unfinished activity instances
      • `historicActivityInstanceQuery.includeFinished()`: includes the number of finished activity instances
      • `historicActivityInstanceQuery.includeCanceled()`: includes the number of canceled activity instances
      • `historicActivityInstanceQuery.includeCompleteScope()`: includes the number of activity instances, which completes a scope (ie. consumes a token and does not produce a new token)
      • returns a statistic which contain the following attributes:
      • `activityId`: the activity id
      • `instances`: the number of all unfinished activity instances of the activity
      • `finished`: the number of all finished activity instances of the activity
      • `canceled`: the number of all canceled activity instances of the activity
      • `completeScope`: the number of all activity instances which completes a scope

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sebastian.menski Sebastian Menski
              Reporter:
              smirnov Roman Smirnov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: