[jboss-user] [JBoss jBPM] - Re: Re-Execute a Node's Action handler after an Exception

dleerob do-not-reply at jboss.com
Wed Apr 2 06:17:04 EDT 2008


Thanks for the response.

It would still be in the 'Store Document' node.

Not to worry, I managed to find a solution:

I simply get the Token, and execute the following code:

  | Node node = token.getNode();
  | ExecutionContext executionContext = new ExecutionContext(token);
  | node.execute(executionContext);
  | 

The action is then executed again.
Any feedback is welcome. Hopefully this is the correct way of doing it.

Thanks.

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

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



More information about the jboss-user mailing list