[jboss-user] [jBPM] - Manual reroute in Jbpm 4.3

HuiSheng Xu do-not-reply at jboss.com
Fri Jun 11 07:31:41 EDT 2010


HuiSheng Xu [http://community.jboss.org/people/rebody] replied to the discussion

"Manual reroute in Jbpm 4.3"

To view the discussion, visit: http://community.jboss.org/message/547550#547550

--------------------------------------------------------------
Hi Martin,

OK, I see the problem.  After you used execution.setActivity() or moveTo(), you should save the modifed execution into database.

Generately, please do these operations in a Command, then jBPM 4 will commit the transaction automaticly.  Please refer this:

processEngine.execute(new Command() {
    public Object execute(Environment env) {
        // ...
        execution.setActivity(activityImpl)
       //...
    }
});

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/547550#547550]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100611/1a4f742f/attachment.html 


More information about the jboss-user mailing list