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

2009-07-02 Thread xu.huisheng
If I useexecutionService.endProcessInstance(id, Execution.STATE_SUSPENDED), there will occur an Exception: "invalid end state: suspended" I think we need find another way. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241411#4241411 Reply to the post : ht

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

2009-07-02 Thread rams.rapo
how about following API executionService.endProcessInstance(...)? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241385#4241385 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4241385 ___

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

2009-07-01 Thread dhanushgopinath
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 m