Hi, I have many rules. These rules may or may not belong to the same set. However, based on their name they can be grouped. Say all rules starting with "Traffic_Rule", "Criminal_Rule" etc.
Q1. I want to check after assertion of a fact (A.) how many and (B.) which all rules executed for "Traffic_Rule" and the result will fire another rule. (So I want all this in the rules files only) - So in a way I want to collect the consequences and based on the result of that consequence set fire more rules. Q2. evals() are expensive. I dont think we can assign the output of an eval in the condition to a variable; so how do I re-use an eval in a condition and then in the consequence? (To avoid calling the function multiple times) P.S: Can someone please do something about that spammer (Vacation Reply) regards, Arjun _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users