Thanks Michael.
On Thursday, July 14, 2011, Michael Anstis <michael.anstis(a)gmail.com> wrote:
I believe there was some talk of this recently (on perhaps the
drools-dev mailing list).
IIRC it concluded that this was the expected (system) behaviour of not necessarily the
expected (user) behaviour.
2011/7/14 Wishing Carebear <wishing.carebear(a)gmail.com>
Thanks Esteban,
Noticed that if I have an employee with the list of addresses and update an attribute of
the address item in the list, modify does not work and the update needs to be called
explicitly on the Employee to take effect. Is this expected.
2011/7/14 Esteban Aliverti <esteban.aliverti(a)gmail.com>
No matter the ruleflow-group, all your rules are running in the same session. If you
modify the attributes of a fact, you must notify it to the session (if you want to make
inference with this new value). For doing so you can use update() or modify(), they will
have the same result.
Best regards,
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Esteban Aliverti
- Developer @
http://www.plugtree.com <http://www.plugtree.com>
- Blog @
http://ilesteban.wordpress.com
2011/7/13 Wishing Carebear <wishing.carebear(a)gmail.com>
modify
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users