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

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

    XMLWordPrintable

Details

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

    Description

      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):

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:

                Salesforce