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

Using Java and REST api, I can retrieve a Process Instance duration report

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.5.0, 7.5.0-alpha1
    • None
    • engine
    • None

      There exists an API to create a report about the duration of completed process instances:

      AT:

      • HistoryService#createHistoricProcessInstanceReport() exists
      • possible filter options are: startedBefore, startedAfter, processDefinitionIdIn, and processDefinitionKeyIn
      • when executing the report it is possible to set a period unit to define the report granularity:
        historyService
          .createHistoricProcessInstanceReport()
          . ...
          .duration(MONTH);
        
      • if authorization is enabled, the following authorization is needed:
        Permission: READ_HISTORY, Resource: PROCESS_DEFINITION, ResourceId: *
      • corresponding REST API exists

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              meyer Daniel Meyer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: