]
Mario Fusco commented on DROOLS-1576:
-------------------------------------
I gave a quick look at the drls you attached and they look ok for me. I must admit that
the terms of the problem are not totally evident for me and however I cannot reproduce it
not having your domain model. Please attach to this ticket a test case reproducing the
problem with possibly a failing assertion. In this way I'll have a clear idea about
where is the misbehaviour of drools that you're claiming and a chance to investigate
it without any risk of misunderstandings.
Intermittently Rule getting executed Twice while using Agenda Groups
and Order
------------------------------------------------------------------------------
Key: DROOLS-1576
URL:
https://issues.jboss.org/browse/DROOLS-1576
Project: Drools
Issue Type: Bug
Reporter: Siyad Theyparambil Mohammed
Assignee: Mario Fusco
Attachments: CreateDedCharges-Rule.txt, CreateFLATFeeCharges-Rule.txt,
CreatePSRLCreditCharges-Rule.txt, CreateRPERFeeCharges-Rule.txt, First Execution
Result.txt, Second Execution Result.txt
Hi,
We have 4 rules which are divided into 2 agenda groups
||Rule||Agenda Group||
|CreateRPERFeeCharges|createcharges|
|CreateFLATFeeCharges|createcharges|
|CreateDedCharges|createcharges|
|CreatePSRLCreditCharges|postrule|
Focus is set on the agenda group in the following order,
1. postrule
2. createcharges
The Rule “CreatePSRLCreditCharges” has named consequences. Based on the accumulated
Charge amount we want one of the two consequence to be executed. If you notice the “First
Execution Result.txt” this rule was executed twice once for the “IF” and second for “ELSE”
but during the second trigger of the rule execution it fired the rule only once with the
same data. Could you please look/check and let us know if we have an issue with the rule
or is this a bug in drools?
We have attached the all the 4 drls and the results of the 2 execution that was
triggered.