Lukasz Kozerski [http://community.jboss.org/people/lukasz.kozerski] created the discussion
"Re: Problem with starting process" To view the discussion, visit: http://community.jboss.org/message/622587#622587 -------------------------------------------------------------- Please consider attached example ( http://community.jboss.org/servlet/JiveServlet/download/2034-171311-622346-39304/drools-serialization-test.zip http://community.jboss.org/servlet/JiveServlet/download/622346-39304/drools-serialization-test.zip). There is one test method: luk.SerializationTest.shouldSerializeVariable() Right now it works fine. Script1 prints Foo: A, X and Script2 prints Foo: A, Y. But if we change method of starting process from this: ksession.startProcess("process", parameters); // ProcessInstance process = ksession.createProcessInstance("process", // parameters); // long processId = process.getId(); // ksession.startProcessInstance(processId); to this: // ksession.startProcess("process", parameters); ProcessInstance process = ksession.createProcessInstance("process", parameters); long processId = process.getId(); ksession.startProcessInstance(processId); then Script2 isn't fired. -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/622587#622587] 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
