The problem is that methode "endProcessInstance()" only some arguments supports like "ended". If you use other aguments the process fail on methode "checkActive()" because it check if state is "ended".
Reply to this message by going to Community
Start a new discussion in jBPM at Community