you are invoking fireAllRules() separately before your commands are executed,
so your rules fire before any objects are inserted.

instead of 
demographicStatefulKSession.fireAllRules(); 

add command:
demoCmds.add(CommandFactory.newFireAllRules()); 

--
View this message in context: 
http://drools.46999.n3.nabble.com/Sessions-both-Stateful-n-Stateless-giving-issues-tp3402876p3403937.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to