Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-251

I can get multiple process definition xmls in one query

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 1.0.0, 1.0.0-alpha3
    • None
    • None
    • None

      Context:

      • For the process definition selection screen, we want to display previews of the diagrams for the available process definitions. Currently, we need to request every diagram separately

      AT:

      • The endpoint to retrieve the list of process definitions (/process-definition) contains a way to also include the bpmn xml of the process definition (e.g. /process-definition?includeXml=true)

      HInt

      curl -XGET 'localhost:9200/optimize/_search?pretty' -H 'Content-Type: application/json' -d'
      {
          "query": {
              "match": {
                  "id": "aProcess:1:fead19d0-12e4-11e7-a40d-024213a09dc5"
              }
          }
      }
      '
      

      would give you both process definition and process definition xml as documents in result set

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              sebastian.stamm Sebastian Stamm
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: