Hi,
Is it possible to use a filter that will fire rules according to a 
parameter value ?

E.g Ii wish to use this filter:   workingMemory.fireAllRules( new 
RuleNameEqualsAgendaFilter(transaction.getNext_rule_name())); 

This value will change in the .drl file a rule is executed


 transaction.setNext_rule_name("provisionSMS2");
 
                                drools.modifyObject(transaction);



However, at the moment this isnt working since the filter keeps comparing 
to the original value of transaction.getNext_rule_name()).  I know this 
can be done using a condition in each rule or a semaphore but if it could 
be avoided...



Thanks

Caroline Grima

Reply via email to