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.