[jboss-jira] [JBoss JIRA] Created: (JBRULES-1881) no-loop attribute not wrking with modify
Sravanthi Tipirneni (JIRA)
jira-events at lists.jboss.org
Tue Dec 2 12:57:36 EST 2008
no-loop attribute not wrking with modify
-----------------------------------------
Key: JBRULES-1881
URL: https://jira.jboss.org/jira/browse/JBRULES-1881
Project: JBoss Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.0.7
Reporter: Sravanthi Tipirneni
Assignee: Mark Proctor
Priority: Minor
in the rule given below, the rule is looping when i use
modify( $edi ){
setSourceable(true)
}
in RHS. It does not loop when i use $edi.setSourceable(true);
rule "Generic MSRP Rule"
no-loop true
when
$edi : EdiProduct( $prod : product )
Product( classificationCode == null, $prc : pricing ) from $prod
Pricing( $msr : msrp ) from $prc
Money( asBigDecimal > 0) from $msr
then
modify( $edi ){
setSourceable(true)
}
//$edi.setSourceable(true);
System.out.println("Rule is successfull");
end
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list