Folks,
Using 4.0.1. Trying to do use rule flow to manage the execution of rules. As I understood in Split node with type XOR I can set conditions for each destination that are executed against facts in working memory.
Let's consider I have a rule that executes every time it finds Integer object in memory and increments it.
rule "Increment"
ruleflow-group "Up"
when
$i : Integer(intValue < 10)
then
System.out.println("INTEGER : " + $i);
retract($i);
insert(new Integer($i.intValue() + 1));
end
Now, I have the following rule flow in place:

The Split to Up arrow has constraint : Integer(intValue < 5)
And initially I am inserting this fact : insert (new Integer(0))
Now my understanding is that It should execute rule “Increment” 5 times…. But instead it does it 10 times…
Is that a normal behavior? Why cannot Split understand that only when there is an Integer(intValue < 5) only then execute rule with ruleflow-group "Up"
Thanks…
-Sergey