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 "one rule". Make sure not to insert duplicates by keeping track of already inserted RuleHasFired facts with a certain rule name.
-W
Hi,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.Any idea on how to find if a rule has been triggered or not.Any help will be greatly appreciated.Thanks,Shweta Agarwal
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users