Please find attached test case which I use to reproduce problem. To run test
just use "mvn test".
http://drools-java-rules-engine.46999.n3.nabble.com/file/n1405303/event-t...
event-test%28signalInRules%29.zip
Issue is that event fired in rules using signalEvent doesn't allow to fire
rules again.
So the issue is:
In flow:
drools.getWorkingMemory().setFocus("create-fault-event");
drools.getWorkingMemory().fireAllRules();
This prints output.
In rule:
drools.getKnowledgeRuntime().signalEvent("LocalEvent", null);
In flow:
drools.getWorkingMemory().setFocus("create-fault-event");
drools.getWorkingMemory().fireAllRules();
No output - rules not fired. Not sure why....
Regards,
Ivan
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Event-fired-in-rules-...
Sent from the Drools - User mailing list archive at
Nabble.com.