Also remember to reset or re-bind all your globals.
Best,
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Esteban Aliverti
- Developer @
http://www.plugtree.com
- Blog @
http://ilesteban.wordpress.com
2010/10/14 Wolfgang Laun <wolfgang.laun(a)gmail.com>
Iterate over all Facts in WM and call update():
for( FactHandle fh: kSession.getFactHandles() ){
kSession.update( fh, kSession.getObject( fh ) );
}
2010/10/13 Yaniv Itzhaki <iyaniv(a)gmail.com>
> Hi there,
>
> Is there a way to "reset" the working memory so that all the rules will
> run again when fireAllRules() is called? (I am running the startProcess
> method number of times with the same working memory)
>
> I know that normally rules will only be run again when there was a change
> and the fact was updated. but in my case I like to run all rules again
> in some situations without having a change on the facts.
>
> so is there a way to do this?
>
> Thanks
> Yaniv
>
> _______________________________________________
> 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