You can use endProcessInstance method of execution service
HTH
Reply to this message by going to Community
Start a new discussion in jBPM at Community