Hi, I need to modify more than one fact while executing a consequence inside the drl file (<java:consequence>), but when drools.modifyObject is called all the engine is activated and rules fired again, so the next modifyObject or anything else is never called. How can I modify more than one fact inside the working memory (inside the rules) so I can be sure all this changes really happens? Do assertObject and retractObject have the same behaviour?
What Im trying to do is this: A parent with childrens have some rules, so I have a rule which get Parent and Children facts, but when I execute that rule it must check this and other rules affecting the same Parent and the rest of the Childrens so I want to assert the next Children from a Set in the Parent object and retract the old Children and then modify the Parent fact. Whats the best way to do that? ---------------------- Felipe Piccolini [EMAIL PROTECTED]
