Create an endpoint to download process instances as a csv

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Done
    • Priority: L3 - Default
    • 3.1.0-alpha2, 3.1.0
    • Affects Version/s: None
    • Component/s: backend
    • None

      AT:

      • There is a new endpoint that evaluates a process with a duration filter and returns a raw data CSV file.

      The suggested API:

      POST /api/export/csv/process/rawData/{fileName}
      
      {
        processDefinitionKey: '...', // the key of the process definition
        processDefinitionVersions: ['...'], // a list of versions or ['all'] or ['latest']
        tenantIds: ["tenantId1", ...] // none, one or multiple tenantIds, to filter for instances with no tenant provide a `null` entry or an empty list
        filter: [...],
        includedColumns: [...]
      }
      
      Response:
      
      Media-Type: application/octet-stream
      Content-Disposition: attachment; filename={fileName}
      Body: byte array of a file
      

        This is the controller panel for Smart Panels app

              Assignee:
              Unassigned
              Reporter:
              Omran Abazeed
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: