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(a)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(a)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-...
> 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...
> Sent from the Drools: User forum mailing list archive at
Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
>