On 16/09/2013, stelomax <[email protected]> wrote: > Problem solved...was not an issue with Accumulate. It was an issue with my > understanding of decision tables. > > I had missed the all important "update" off the action of the decision > table. This lead to some peculiar behavior where println the fact worked > fine, but executing a rule on the fact took the previous value of the fact. > I am assuming this is down to the way the rules engine works when firing > rules as opposed to simply retrieving values?
If your decisions depend on what's going on behind your back, you need to be told, too ;-) And that's also the basic principle of rule evaluation where facts may change. -W > > Regardless the issue is resolved, thanks for your help (and patience) as > always. > > Steve > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/Issue-with-simple-accumulate-sum-rule-tp4025933p4025986.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 > _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
