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]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
