stellina_rosa [http://community.jboss.org/people/stellina_rosa] created the discussion
"Re: How does a sub-process work?" To view the discussion, visit: http://community.jboss.org/message/610786#610786 -------------------------------------------------------------- Hi Esteban, I'm sorry to contradict you, but the ksession is not the same in main and sub-process. I take a test with a variable and the resul is different org.drools.runtime.process.WorkflowProcessInstance process = (org.drools.runtime.process.WorkflowProcessInstance)kcontext.getProcessInstance(); System.out.println("Risultato Processo Principale: "+process.getVariable("risultato")); .... so this means that in the main process I can't use the ksession on the sub-process. at this point... what is the point of using of a sub-process?? is not very useful!!! -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/610786#610786] 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
