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

    • Icon: Feature Request Feature Request
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.1.0, 7.1.0-alpha2
    • None
    • engine

      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

        This is the controller panel for Smart Panels app

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

                Created:
                Updated:
                Resolved: