[jboss-user] [jBPM] - jBPM 4.x suspend/Resume

Tony D do-not-reply at jboss.com
Tue May 3 04:29:10 EDT 2011


Tony D [http://community.jboss.org/people/pushpak1981] created the discussion

"jBPM 4.x suspend/Resume"

To view the discussion, visit: http://community.jboss.org/message/603136#603136

--------------------------------------------------------------
I have some processes which are having java activity nodes which are refering to EJB's. My Process.jpdl.xml file has only one async node during the start. As per the docs a new transaction is started at every a sync node so in my case my entire workflow will be processes into a single Thread (transaction). If suppose i call a jboss shutdown in while the process is execution then goes into an error state. 

Is there any way in which i can suspend the current Process instance and then again start when the server is started ? i.e. wait for the process instance to complete the current activity and then go to suspend and then again continue from the next activity when again server is started.

I tried by getExecutionService().endProcessInstance("processinstanceid", Execution.STATE_SUSPENDED); But was not suspending the process.

Any Help would be highly appreciated.

Thanks.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/603136#603136]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110503/e12345da/attachment.html 


More information about the jboss-user mailing list