[rules-users] modify and update is not working in the rule file

Rana ven12344 at yahoo.com
Fri Aug 17 14:18:23 EDT 2012


Ok it worked when I changed the rule file a little to add the negative rules.

But this should be dynamic so I am guessing I should write if-else stmts to
focus on for different drugs?

ksession.getAgenda().getAgendaGroup( "AndroGel" ).setFocus(); 
    		

* Logging is also not working in the rule file.

    		Logger logger = Logger.getRootLogger();
    		
    		ksession.setGlobal("log", logger);

Also I have new requirement saying that when a rule satisfies, they only few
rules to get fired based on the user input (like a grouped rules), so I
thought I will use activation-groups apart from agenda-groups. But how can I
focus on activating those activation-groups from Drools Rule File.

Thanks.



--
View this message in context: http://drools.46999.n3.nabble.com/modify-and-update-is-not-working-in-the-rule-file-tp4019158p4019263.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list