Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-2871

Provide Type and Description of Case Execution via API (REST and Java)

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.2.0
    • Component/s: cmmn model api, engine
    • Labels:
    • Title Keywords:
      cmmn, api, case execution, rest

      Description

      Current Case Execution API endpoint can be queried to retrieve the Case Execution (GET URL/case-execution). The answer consists the following JSON structure. For example:
      [{id: "3a93f7ee-5057-11e4-951d-58ff20524153",
      caseInstanceId: "3a930d8d-5057-11e4-951d-58ff20524153",
      caseDefinitionId: "Werkstatt_besuchen:1:31cf516b-5055-11e4-951d-58ff20524153",
      activityId: "PIhumanCreateCustomerOrder",
      activityName: "Kundenauftrag erfassen",
      parentId: "3a930d8d-5057-11e4-951d-58ff20524153",
      enabled: true,
      active: false,
      disabled: false
      },

      {...}]

      This is perfectly fine, but if you are building a case UI, it is very helpful to know the type of the execution (HUMAN TASK, CASE TASK, PROCESS TASK, STAGE, CASE) and the description. Since this information is available, it would be very nice to access to it via API:

      [{id: "3a930d8d-5057-11e4-951d-58ff20524153", caseInstanceId: "3a930d8d-5057-11e4-951d-58ff20524153", caseDefinitionId: "Werkstatt_besuchen:1:31cf516b-5055-11e4-951d-58ff20524153", activityId: "caseDefCarShop", activityName: null, parentId: null, enabled: false, active: true, disabled: false, type: "HUMANTASK", description: "Erfassen von Kunden- und Fahrzeugdaten sowie des Kundenwunsches"}, {...}

      ]

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sebastian.menski Sebastian Menski
              Reporter:
              Simon.Zambrovski@holisticon.de Simon Zambrovski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: