On 16/09/2013, stelomax <stephen.lomax(a)mattelli.com> 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-t...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users