User development,
A new message was posted in the thread "How to terminate a forked process":
http://community.jboss.org/message/519092#519092
Author : Ronald van Kuijk
Profile :
http://community.jboss.org/people/kukeltje
Message:
--------------------------------------------------------------
There is one basic assumption wrong in your example. There are no subprocesses!. So the
name, terminology and api that are used are wrong. Yes, there are child executions (as the
table is called) but a (sub)process is an execution, but an execution does not need to be
a process (hence the 'isProcessInstance() method on Execution). So trying to end all
these processes in a loop won't work since there only is one.
Getting all executions and ending them should work.
--------------------------------------------------------------
To reply to this message visit the message page:
http://community.jboss.org/message/519092#519092