[jboss-user] [jBPM] - Jbpm5 JPA support for ruleTask/human task mix

Jing Zhang do-not-reply at jboss.com
Mon Mar 7 20:06:01 EST 2011

Jing Zhang [http://community.jboss.org/people/zhangjing2000] created the discussion

"Jbpm5 JPA support for ruleTask/human task mix"

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

I defined a very simple process with two human task nodes and one rule task node. The sequence is first human task node, then rule task node, then second human task node.   I want to use this test case to test JPA and session restore. 

I added a method to restore session data after the first human task and before rule task. This is copied from build-in ruleTask test case in Jbpm-BPMN2 package. 
What I found is if I comment out the restore session method, I can successfully run the test, but once I added, there is no rule been fired and thus the process stuck in rule task node. 

See below,

        // if I comment out this statement, the test will passed
        ksession = restoreSession(ksession);

I also attached the test file. 

Your advise is very appreciated!

Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110307/9496a6df/attachment.html 

More information about the jboss-user mailing list