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

Local human task variable is not associated with corresponding case execution and instance

    XMLWordPrintable

Details

    Description

      Steps to reproduce:
      1. create a case containing a human task
      2. create a new case instance
      3. start the human task (execute manualStart on the corresponding case execution)
      4. set a local task variable: taskService.setVariableLocal("aTaskId", "myVariable", "myValue")
      5. fetch the variable: taskService.getVariableLocal("aTaskId", "myVariable")

      Problem:
      The fields

      • caseExecutionId and
      • caseInstanceId

      are equal null.

      Hint:
      Inside the implementation TaskEntity#initializeVariableInstanceBackPointer() must be set on the variable instance the corresponding caseExecutionId and caseInstanceId.

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              thorben.lindhauer Thorben Lindhauer
              roman.smirnov Roman Smirnov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce