[jboss-jira] [JBoss JIRA] (DROOLS-1) Rules getting executed even when the condition specifed is not satisfied
Gladson Soans (JIRA)
jira-events at lists.jboss.org
Thu Dec 13 22:39:17 EST 2012
Gladson Soans created DROOLS-1:
----------------------------------
Summary: Rules getting executed even when the condition specifed is not satisfied
Key: DROOLS-1
URL: https://issues.jboss.org/browse/DROOLS-1
Project: Drools
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Environment: SOLARIS
Reporter: Gladson Soans
Assignee: Mark Proctor
Hi,
Below is the rules:
rule "RelStatusUpdateCalcCheck"
salience 55
no-loop true
when
$evt : UpdateRateStatusReq(statusID == RateStatusEnum.READY.getValue() || == RateStatusEnum.HOLIDAY_ROLL_FORWARD.getValue() || == RateStatusEnum.ROLL_FORWARD.getValue()) from entry-point RequestStream
$rr : ReliableRate(rateId == $evt.getRateID())
$dr : DerivedRate(holidayFlag == false, grfLock == false, $lr : listInputRateId, $lr.contains($evt.getRateID()))
then
cepService.relStatusUpdateCalcCheck($evt, $rr, $dr);
end
The last condition states that if 'holidayflag' is false and other conditions are satisfied as well then only execute the the java method. But the method gets executed even when the holidayflag is true. Only when I restart my app server the method doesnt get executed when holidayflag is true. Why is this so?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list