[jboss-jira] [JBoss JIRA] (DROOLS-501) jBPM Ruleflow groups ignore no-loops when nodes are shared

Davide Sottara (JIRA) issues at jboss.org
Mon May 26 03:55:57 EDT 2014


Davide Sottara created DROOLS-501:
-------------------------------------

             Summary: jBPM Ruleflow groups ignore no-loops when nodes are shared
                 Key: DROOLS-501
                 URL: https://issues.jboss.org/browse/DROOLS-501
             Project: Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 6.1.0.Beta4
            Reporter: Davide Sottara
            Assignee: Mark Proctor
            Priority: Critical
             Fix For: 6.1.0.CR1


The following rules
{code}
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
{code}
cause an endless loop even if controlled by a jBPM process with two rule tasks



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jboss-jira mailing list