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

    Details

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

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: