Hello All,<br><br>Was doing some rule writing and am seeing some issues which I want to overcome.<br><br>In Fusion when we send the facts into working memory.. there seems to be no way that rules are automatically getting triggered.<br>
We have to call fireAllRules after each fact insertion. Is this the way it was designed. Its like this in the stocktick example also<br><br>This one should be simple for somebody with little more experience than me<br>In the following rule<br>
<br>rule "raise alarm"<br>when<br> Event($type : eventType)<br> $events: ArrayList (size > 10)<br> from collect (Event(eventType == $type))<br>then<br> raise alarm<br><br>In the above rule the raise alarm is getting called 10 times. .. How can I make it to be called only once.<br>
<br>Thanks<br>Amit<br>