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

I can request all variable of an external task during fetch and lock

    Details

    • Type: Feature Request
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.6.0, 7.6.0-alpha3
    • Component/s: engine
    • Labels:

      Description

      Use Case

      At the moment the fetchAndLock API of External Tasks requires to specify all variables which the worker is interested explicitly. This means the worker has to know all variable names in advance before calling the API.

      It is desirable to allow workers to fetch all variables of the execution of the external task.

      Hint

      The handling of serialized values should either be configurable or explicitly documented.

        Issue Links

          Activity

          Hide
          askar.akhmerov Askar Akhmerov added a comment - - edited

          based on org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScope#collectVariables we would gather all variables if none are provided in the list. Will try to add corresponding unit test.

          Decisions

          • leave Rest code as is
          • adjust javadocs to state everything explicitly
          • do not add parameters to configure deserialization and scoping
          • add tests to verify behavior
          Show
          askar.akhmerov Askar Akhmerov added a comment - - edited based on org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScope#collectVariables we would gather all variables if none are provided in the list. Will try to add corresponding unit test. Decisions leave Rest code as is adjust javadocs to state everything explicitly do not add parameters to configure deserialization and scoping add tests to verify behavior

            People

            • Assignee:
              Unassigned
              Reporter:
              sebastian.menski Sebastian Menski
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: