[jboss-user] [jBPM Users] - Re: How to stop a process instance

2009-10-08 Thread fdegrigny
Last I found how to do this. In fact the ProcessIntance.end() method really terminate the process but not all the running process tasks in it (this has confused me). The process tasks have to be terminated separately. At last, I have made all my ActionHandlers extends a custom base one : public

[jboss-user] [jBPM Users] - How to stop a process instance

2009-09-29 Thread fdegrigny
Is it possible to programatically terminate a process instance ? I tried the ProcessIntance.end() method but it doesn't work. After this method was called the token continue to the next task node and the process status in not equal to "terminated". The method ProcessInstance.hasEnded() return fals