tkobayas opened a new issue, #6529:
URL: https://github.com/apache/incubator-kie-drools/issues/6529

   
https://kie.zulipchat.com/#narrow/channel/232677-drools/topic/Strange.20behaviour.20with.20traditional.20syntax.20in.20RuleUnit/with/558621566
   
   ```
   package com.example.ruleunit
   
   unit PersonUnit
   
   import com.model.Person
   import com.model.Child
   import com.model.House
   import com.model.School
   
   rule "Rule 1"
   when
       $person: Person() from entry-point people
       exists Child(age > 18) from $person.children
       not School() from entry-point schools
       House() from entry-point houses
   then
       rulesFired.add("rule1");
   end
   
   rule "Rule 2"
   when
       House() from entry-point houses
       $person: Person() from entry-point people
       exists Child(age > 18) from $person.children
       not School() from entry-point schools
   then
       rulesFired.add("rule2");
   end
   ```
   Rule1 fires, but Rule2 doesn't.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to