the issue is that you dispose the session before transaction is completed which cause the mentioned error. Make sure that the dispose will happen after transaction completion.
HTH
Reply to this message by going to Community
Start a new discussion in jBPM at Community