JBoss Community

Re: Unable to complete a task when running the task in a separate thread

created by Calvin Ling in jBPM - View the full discussion

Thanks Kris! Since we had the ksession set in the work item handler already, the exception did go away after I changed to ksession.getWorkItemManager().completeWorkitem(..).  However, this completion event seems to have never taken effect? As we have .waitForCompletion(true) set for this work item node, but the flow was stuck in this node forever even though completeWorkitem was called. I checked that was the case via processinstancelog and nodeinstancelog.

Reply to this message by going to Community

Start a new discussion in jBPM at Community