[jboss-user] [JBoss jBPM] - Re: Cancelling dynamically created tasks

2008-12-28 Thread romain.lamarche
Hi, Try to call setSignaling(false) before call cancel() and it should works. The problem is that you call cancel() in an event (i think) and the token is locked. And calling cancel make the task to signal the token, which is not what you want, and you can't do this from an event. Another way

[jboss-user] [JBoss jBPM] - Re: Cancelling dynamically created tasks

2008-12-17 Thread kukeltje
anonymous wrote : when I tried to fetch pending tasks with executionContext.getTaskMgmtInstance().getTaskInstances() From where? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4197228#4197228 Reply to the post :