From: abhinay_agarwal <abhinay_agarwal@infosys.com>
To:
rules-users@lists.jboss.org
Sent: Tuesday, November 27, 2012 4:36 AM
Subject: Re: [rules-users] Inserting Different Objects Of Same Class !
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.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/rules-users