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&...]