[drools-user] propagation of object thru rules

2006-10-19 Thread Joj
rule checkClaim when clm : Claim(typeId == 1) clm : Claim(amount 1.00) then clm.setStatus(REJECTED); clm.setReason(amount claimed exceeds the maximum permitted); end rule

Re: [drools-user] propagation of object thru rules

2006-10-19 Thread Michael Neale
Yes, best to accumulate evidence for a rejection like this. Even though, in that case, you only really need one rule to fire, its better from a business rules stand point to have stronger evidence as to why some outcome was decided by engine. Sure enough, one of your users will ask basically the