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

org.camunda.bpm / complete do not allow to pass local variables

    • Icon: Bug Report Bug Report
    • Resolution: Unresolved
    • Icon: L3 - Default L3 - Default
    • None
    • 7.17.6
    • assert
    • None

      Environment (Required on creation):

      Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket):

      when testing BPMN which expected ExternalTask to send local variables, there is no complete method allowing to pass local variablethe complete() function do not allow

       

      Steps to reproduce (Required on creation):

      Observed Behavior (Required on creation):

      Expected behavior (Required on creation):

      Root Cause (Required on prioritization):

      Solution Ideas (Optional):

      update test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java

       

      along with:

      public static void complete(ExternalTask externalTask, Map<String, Object> variables)
         ...
         complete(lockedTasks.get(0), variables); 

      add:

      public static void complete(ExternalTask externalTask, Map<String, Object> variables), Map<String, Object> localVariables){
          ...
          complete(lockedTasks.get(0), variables, localVariables);
        

      And the same for

      public static void complete(LockedExternalTask lockedExternalTask, Map<String, Object> variables, 

       

       

      Hints (optional):

        This is the controller panel for Smart Panels app

            [CAM-14929] org.camunda.bpm / complete do not allow to pass local variables

            Hi dakol,

            Thank you for your contribution.

            I review contributions every fortnight.

            Stay tuned!

            Best,
            Tassilo

            Tassilo Weidner added a comment - Hi dakol , Thank you for your contribution. I review contributions every fortnight. Stay tuned! Best, Tassilo

            dakol added a comment -

            dakol added a comment - https://github.com/camunda/camunda-bpm-platform/pull/2034

            This ticket was migrated to github: https://github.com/camunda/camunda-bpm-platform/issues/2815. Please use this link for any future references and continue any discussion there.

            Thorben Lindhauer added a comment - This ticket was migrated to github: https://github.com/camunda/camunda-bpm-platform/issues/2815 . Please use this link for any future references and continue any discussion there.

              tassilo.weidner Tassilo Weidner
              dakol dakol
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: