Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upProblem iterating the engine with a list of rule packages #201
Comments
|
Hi @CacheControl, sorry for insisting. Do you have any ideas to address this problem? Thanks for your help. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @CacheControl , I need your help.
I'm trying to iterate the engine.run with packages of rules and a initials facts that takes new facts every time that the engine evaluate new rules. The problem is that the engine take the first facts and evaluate all rules with this facts and avoid the new facts.
It's something like this:
The problem is that
currentFacts[key] = e.params[key];not works, the facts in theresultsobject of every iteration is the same as initial facts.Thanks for your help.