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

REST API: Wrong query parameter name 'deserializeValue' in ProcessInstance API and Task API

    XMLWordPrintable

Details

    Description

      The query parameter 'deserializeValue' of the REST URL "/process-instance/{id}/variables" has no effect, the returned process variables are deserialized in any case. Same applies for the REST URL "/task/{id}/variables".

      The cause is a wrong parameter name in the OpenApi specification openapi.json (from archive: camunda-engine-rest-openapi-7.13.0.jar). Line 9793 and line 14841: the variable is exptected to be 'deserializeValues' (not 'deserializeValue'). Therefore the decoding of the query parameters goes wrong.

      Note that the documentation is correct:

      https://docs.camunda.org/manual/7.13/reference/rest/process-instance/variables/get-variables/

      https://docs.camunda.org/manual/7.13/reference/rest/task/variables/get-task-variables/

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              phlox Daniel Brugger
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce