I have a specific requirement where in, i have my rules file as follows
//fire a particular query & retrieve the count of records for a filter
//Then populate it to some fact property using modify()
//check if the count of records is, say 100 after, the above modify
//any further action
Now the problem is, I want to execute rule "one" again and again until rule
"two" is satisfied.
Two probable solutions I can think of is: -
1. Put some condition in rule "one", so that rule"one" is true
"two" condition is satisfied. But that has a problem, rule"one" will
fire even if rule "two" gets satisfied.
2. Other is, have some kind of third rule that will call rule "one",
when rule"two" is not satisfied.
Please provide your valuable inputs.
Thanks in advance.
View this message in context:
Sent from the Drools: User forum mailing list archive at Nabble.com