Below is the rule:
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?
1 Answer