<div> </div>
<div>Hi there,</div>
<div> </div>
<div>I have got a couple of questions about ruleflows and woking memory.</div>
<div> </div>
<div>What does happen each time I modify a fact within a ruleflow node without</div>
<div>calling update(fact)? </div>
<div> </div>
<div>What does happen between the node where I</div>
<div>apllied the modifications and the next activation node?</div>
<div> </div>
<div>I guess that between one ruleflow node and the next one, all the modified</div>
<div>facts (in the previous node) are automatically updated (without explicitly call "update()")</div>
<div>so that once the next node has been activated,</div>
<div>the corresponding shadow facts result synchronized with the actual facts.</div>
<div> </div>
<div>Am I wrong?</div>
<div> </div>
<div>Should I call "update()" instead?</div>
<div> </div>
<div>My scenario...</div>
<div> </div>
<div>I have got one node where I modify a fact, but I do not</div>
<div>want to call the update() because otherwise I would generate</div>
<div>a "ping-pong" loop between two decision tables that are</div>
<div>placed in the same rule flow node. I think I could use</div>
<div>the "no-active" attribute but I can't.... cause I can't specify</div>
<div>it in a Decision table.</div>
<div> </div>
<div>Another workaround could be the "clearAgenda()" method</div>
<div>but It is not accesible from the "drools" (the helper) object...</div>
<div>How can I call it from the decision table or within an "action" ruleflow</div>
<div>node?</div>
<div> </div>
<div>Maybe there is a third solution.... I should "update()" all the</div>
<div>fact from an action node ...but in this case I would need</div>
<div>to call an "update()" method that allowed me to update</div>
<div>"all the facts of a given Class", Is That Possible in drools?</div>
<div> </div>
<div>I took a look on the API docs but some methods are not explained.</div>
<div> </div>
<div>Looking forward to hearing from you!</div>
<div> </div>
<div>Thank You again!</div>
<div> </div>
<div>Massi</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>