Also remember to reset or re-bind all your globals.
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@gmail.com>
_______________________________________________Hi there,Is there a way to "reset" the working memory so that all the rules willrun 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 changeand the fact was updated. but in my case I like to run all rules againin some situations without having a change on the facts.so is there a way to do this?ThanksYaniv
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users