[jboss-jira] [JBoss JIRA] (DROOLS-1576) Intermittently Rule getting executed Twice while using Agenda Groups and Order
Siyad Theyparambil Mohammed (JIRA)
issues at jboss.org
Tue May 23 18:02:00 EDT 2017
Siyad Theyparambil Mohammed created DROOLS-1576:
---------------------------------------------------
Summary: 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: Edson Tirelli
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.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list