[rules-users] Should update be called moving from one rule task to another in a ruleflow

Wishing Carebear wishing.carebear at gmail.com
Thu Jul 14 11:50:58 EDT 2011


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 at 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
> - Blog @ http://ilesteban.wordpress.com
>
>
> 2011/7/13 Wishing Carebear <wishing.carebear at gmail.com>
>
>> modify
>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110714/3768460e/attachment.html 


More information about the rules-users mailing list