[rules-users] Rules + 2 facts
Nicolas Carlier
carlier.nicolas at gmail.com
Fri May 25 18:08:20 EDT 2007
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,
More information about the rules-users
mailing list