<div dir="ltr">Hallo Edson,<br><br>thanks for the quick answer. Where can I find&nbsp; the configuration file where I have to define the ne accumulate function:<br><pre class="programlisting">drools.accumulate.function.calculateCertainty = org.drools.base.accumulators.NewAccumulateFunction<br>
</pre><br>regards<br>Thomas<br><br><br>&nbsp;&nbsp; Or an accumulate function (as long as all you objects implement a commong<br>interface):<br><br>rule &quot;overall certainty&quot;<br>when<br>&nbsp;&nbsp; $cert : Number() from accumulate(<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $f : CertaintyFacts(&nbsp; ),<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; overallCertainty( $f ) )<br>then<br>&nbsp;&nbsp; // do something with $cert<br>end<br><br>&nbsp;&nbsp; Implement your own formula inside overallCertainty function .<br><br>&nbsp;&nbsp; []s<br>&nbsp;&nbsp; Edson<br>
</div>