-
Bug
-
Resolution: Won't Do
-
Minor
-
jBPM 3.3.1 GA, jBPM 3.2.7
-
None
-
Low
The TaskInstanceEndCommand does not save the processInstance.
This means (among others) that the process logs will not be persisted to the database, since they are only stored upon a call to the save() method on the jBPM Context.
The solution is simple, add
jbpmContext.save(taskInstance.getProcessInstance());
to the command.
I haven't checked the other commands, but the bug can occur in other commands.