The following rules package org.drools.compiler.loop rule "Rule 1" ruleflow-group "Start" no-loop when $thing1 : String() $thing2 : Integer() then System.out.println( 'At 1' ); update( $thing2 ); end rule "Rule 2" ruleflow-group "End" no-loop when $thing1 : String() $thing2 : Integer() then System.out.println( 'At 2' ); update( $thing2 ); end cause an endless loop even if controlled by a jBPM process with two rule tasks
Fixed by https://github.com/droolsjbpm/drools/commit/15cfe29d946d7e33520c20b4f3a61bedeeab05cc
Mario Fusco <mario.fusco> updated the status of jira DROOLS-501 to Resolved
Cherry-picked to 6.0.x branch with https://github.com/droolsjbpm/drools/commit/869c51c9d
Verified on BRMS 6.0.2 CR1.