Problem:
- given:
- a process with startEvent -> Timer -> endEvent
- the timer is executing a delegate that creates a variable V and sets the timer
- the timer has an end execution listener that deletes the variable
- I start the process and the instance is staying in the timer
- when:
- I perform a process instance modification and set the token before the timer
- and I do not skip the listener during the modification
- and the modification is done as a spring transaction
- then:
- I get an ACT_UNIQ_VARIABLE Constraint Violation error
- expected:
- no error and the variable is deleted
Hint:
- If I use a command to perform the modification in one transaction, no error is thrown.
- See the following test case, which depicts the error:
https://github.com/camunda/camunda-bpm-platform/commit/f85ee18f80c22b9e7fc130c6c5bea1f31a867b05
This is the controller panel for Smart Panels app
- duplicates
-
CAM-7892 Cannot delete and insert a process variable with the same name within one transaction
- Closed