[rules-users] Inserting Different Objects Of Same Class !

abhinay_agarwal abhinay_agarwal at infosys.com
Tue Nov 27 05:36:16 EST 2012


I was initially using two lists making them global, and it was working for
me, but then i read 

"Globals are not designed to share data between rules and they should never
be used for that purpose. Rules always reason and react to the working
memory state, so if you want to pass data from rule to rule, assert the data
as facts into the working memory."

So, thought might be somewhere, an issue can arise and changed the global
facts.

Thanks,
AA



--
View this message in context: http://drools.46999.n3.nabble.com/Inserting-Different-Objects-Of-Same-Class-tp4020971p4020981.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list