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

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

XMLWordPrintable

    • 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

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

                Created:
                Updated: