[jboss-user] [JBoss jBPM] - Re: How can I suspend or resume a ProcessInstance in jBPM4?

dhanushgopinath do-not-reply at jboss.com
Thu Jul 2 00:52:35 EDT 2009


I am not much sure about jBPM 4, but in jBPM 3 code I am using. I can suspend and resume a process by using the following API's on ProcessInstance Class

org.jbpm.graph.exe.ProcessInstance
  | public void suspend()
  | 
  |     suspends this execution. This will make sure that tasks, timers and messages related to this process instance will not show up in database queries. 
  | 
  | public void resume()
  | 
  |     resumes a suspended execution. All timers that have been suspended might fire if the duedate has been passed. If an admin resumes a process instance, the option should be offered to update, remove and create the timers and messages related to this process instance. 

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

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



More information about the jboss-user mailing list