Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-3331 UserTask/Flow Node Duration Filter
  3. OPT-3598

Create an endpoint to download process instances as a csv

    XMLWordPrintable

    Details

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

      Description

      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
      

        mgm-controller-panel

        This is the controller panel for Smart Panels app

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Salesforce