Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
jBPM 6.2.0.Final
Description
TriggerRulesEventListener has a javadoc:
/**
* Dedicated AgendaEventListener that will fireAllRules as soon as:
* <ul>
* <li>match is created</li>
* <li>after rule flow group is activated</li>
* </ul>
* This listener should be used to automatically fire rules as soon as they get activated.
* Especially useful for executing business rule tasks as part of the process.
*/
but it call rules only on afterRuleFlowGroupActivated
2) https://github.com/marianbuenosayres/jBPM6-Developer-Guide/blob/b523618e89e93f2556a4f0b5b8153f7ded9c5b42/chapter-03/BPMN2-scenarios/src/test/java/com/wordpress/marianbuenosayres/bpmn2/SprintManagementScenarioTest.java
calls rules on both afterRuleFlowGroupActivated and on matchCreated
What is really a difference?
What combination is correct?
Could you document it at least on AgendaEventListener level what each event means?