I have a process definition that can run for a long time.  I have a requirement 
to end it from another process, a web application running in the same JBoss 
container.

This process definition has all failure transitions ending up at a 
"BatchComplete" node that saves some status to the database.  What I would like 
to do is to end the process, but still execute the BatchComplete code after the 
ProcessInstance is ended.
 
I have read the thread on stopping a process from last fall, but have a 
question about how processInstance.end() works.

At what point does the end take effect?  Is it immediate, or does the action 
for a Token's current Node have to finish before the Token ends?

If the end does not take effect immediately, I need to wait for the process to 
complete before I can save the ending status.  That is okay, but I do not want 
to add the complication if it is not necessary.

Thanks for any help.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3938005#3938005

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3938005


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to