Drools 5.3.0.CR1 released (Expert, Fusion, Planner, Guvnor)
New and Noteworthy:
http://docs.jboss.org/drools/release/5.3.0.CR1/droolsjbpm-introduction-docs/html_single/index.html#d0e47
http://docs.jboss.org/drools/release/5.3.0.CR1/droolsjbpm-introduction-docs/html_single/index.html#d0e47
In my test, I posted the set-global command along with the rule execution
commands, like this (snippet):
List commands = new ArrayListCommand();
commands.add(CommandFactory.newSetGlobal(logger, logger));
commands.add(CommandFactory.newInsert(fact, outId));
In drools rules, all the LHS ie when conditions are executed at the start,
then all there subsequent rhs ie then part executes, In my project i want to
run it as a simple if-else i.e
When ... Then do.
When ... Then do..
if this when is false then only go to the next when, and if its true