I am having a problem with the ruleflow in Drools 4.0.7. I have the following simple
ruleflow with a split node with a type of "OR" with two outgoing connections,
each going to a different ruleflow group (image of ruleflow attached).
The problem I am having is with the join node, into which the two ruleflow groups connect
back in. If I use a join node type of "AND", then it works okay unless only one
branch is executed. Then the action, which simply prints "Action node" to the
console, never gets executed.
If I use a join node type of "XOR", then it works okay unless both branches are
executed. Then it appears that both branches are executed, because the action get executed
twice. However, the rules from the ruleflow group in only one of the branches end up
getting fired.
I have attached a zip file containing an extremely simple eclipse test project that
illustrates the problem.
Thanks in Advance,
-Hans
Show replies by date