This is what I want
If the Generic Name is AndroGel, then focus on firing AndroGel rules only,
non other. If it is not AndroGel, it should check for other Generic Name and
if it matched it should only focus on firing that rules only.
rule "AndroGel Generic Name"
no-loop true
auto-focus true
salience 100
when
eval( droolsRequest.drug.genericName == "AndroGel" )
then
drools.getWorkingMemory().setFocus("AndroGel");
end
Thanks.
--
View this message in context:
http://drools.46999.n3.nabble.com/How-to-fire-rules-of-a-specific-rule-fi...
Sent from the Drools: User forum mailing list archive at
Nabble.com.