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);
        ksession.fireAllRules();


I also attached the test file. 

Your advise is very appreciated!
--------------------------------------------------------------

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

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

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to