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

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

      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.

        This is the controller panel for Smart Panels app

            [CAM-6249] I can request all variable of an external task during fetch and lock

            Askar 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

            Askar 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

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

                Created:
                Updated:
                Resolved: