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

REST-Endpoint for Process-Definition-Selection

XMLWordPrintable

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

      In the frontend, we display the process definitions in a way that groups process definitions with their respective versions. For that, we need a REST-Endpoint to send the data in a way that reflects this structure.

      1. Get available processDefinitions
      Response:

      [
        {
          key: 'processKey',
          versions: [
            {
              id: 'processDefinitionId',
              version: 1,
              name: 'Process Name'
            }
          ]
        }
      ]
      

      2. Get XML for definitions
      Request (POST):

      ["processId", "anotherProcessId"]
      

      Response:

      {
        "processId": "some XML String",
        "anotherProcessId": "some other XML String"
      }
      

        This is the controller panel for Smart Panels app

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

                Created:
                Updated:
                Resolved: