If you set up an event handler for rule firings, you can insert a fact RuleHasFired( String name ) and use this as an additional pattern in the &quot;one rule&quot;. Make sure not to insert duplicates by keeping track of already inserted RuleHasFired facts with a certain rule name. <br>
<br>-W<br><br><div class="gmail_quote">2010/9/15 Shweta Agarwal <span dir="ltr">&lt;<a href="mailto:shweta.agarwal21@gmail.com">shweta.agarwal21@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<div><br></div><div>In Drools, I have to trigger one rule based on some conditions and also if some rules, triggers and some do not trigger at all. I need to find this out in the when clause. </div><div><br></div><div>
Any idea on how to find if a rule has been triggered or not. </div>
<div><br></div><div>Any help will be greatly appreciated.</div><div><br></div><div>Thanks,</div><div>Shweta Agarwal</div>
<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br>