Hi all,

I suspended a ProcessInstance in an ActionHandler of a node using the following 
code:

public void execute( ExecutionContext executionContext ) throws Exception{
  |             executionContext.getProcessInstance().suspend();        
  | }

I checked the database - JBPM_PROCESSINSTANCE table, and ISSUSPENDED_ for this 
instance was '1'.

However, when I try to resume this instance elsewhere, using,

  | instance.resume();

I do see the ISSUSPENDED_ change to 0, but it does not resume the workflow. 
Before calling instance.resume(), I tried to print out the node that the 
instance was in, and it was in the same state where it left off.

Please advise.

Thanks.

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

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


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to