One last thing. Just like Wolfgang said: if you don't activate the agenda-group where the rule is defined its activations are never going to be executed.
By the way, what are you trying to do in this piece of code?Collection<Object> objs = workingMemory.getObjects();Iterator<Object> it = objs.iterator();while (it.hasNext()) {Object obj = it.next();if (obj instanceof Program) {FactHandle fact = workingMemory.getFactHandle(obj);workingMemory.update(fact, obj);}}Best Regards,
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Esteban Aliverti
- Blog @ http://ilesteban.wordpress.com
On Thu, Aug 16, 2012 at 4:25 PM, Esteban Aliverti <esteban.aliverti@gmail.com> wrote:
The project doesn't compile since the parent pom is missing. You don't event have the Drug and Program classes in it!
Best Regards,
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Esteban Aliverti
- Blog @ http://ilesteban.wordpress.com
On Thu, Aug 16, 2012 at 4:02 PM, Rana <ven12344@yahoo.com> wrote:Please find the project attached. Please check and help me out. I am now like
cat on that wall. The project team needs it and this is giving me hard time.
Please help
http://drools.46999.n3.nabble.com/file/n4019196/pi-affiliate-drools-rule-engine.zip
pi-affiliate-drools-rule-engine.zip
Please help.
Thanks.
--
View this message in context: http://drools.46999.n3.nabble.com/modify-and-update-is-not-working-in-the-rule-file-tp4019158p4019196.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users