Zhang Jing-A52198 wrote:

Hi All,

 

When I use the “from” keyword to pull data from external database, will those data get inserted to the current working memory?

No, think of it link a nested for loop. That data is local to the rule, you cannot retract it, they will be garbage collected with the existing woringmemory elements that join with them are removed.

Do I need to retract them after the rules are fired?

 

Thanks,

Jing


_______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users