]
Mario Fusco reassigned DROOLS-1576:
-----------------------------------
Assignee: Mario Fusco (was: Edson Tirelli)
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.