Hy,
Sorry i begin with Jboss rules. But imagine that i have this rule:
rule "Rules 1"
when
rt: Event( name1 : name, id1 : id, name == "SimpleEvent" )
ru: Event( name2: name, id2 : id, name == name1)
then
System.out.println("Rule matchs");
end
And that assert 2 objects "Event", with the same attribute name (here
"SimpleEvent") .
How to do that the rule wasn't executed twice ?
Thanks,