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

    • Feature Request
    • Resolution: Fixed
    • L3 - Default
    • 7.5.0, 7.5.0-alpha1
    • None
    • engine
    • 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

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce