[rules-users] Drools Template: conditionally add a rule

dcrissman dcrissman at redhat.com
Mon Apr 29 09:51:30 EDT 2013


I created a spreadsheet with a boolean value indicating if a rule should be
created a given row. Is there a way in Drools Template to conditionality
create a row based on this boolean column?

Maybe something like this:

if(@{booleanRow})

rule "some rule"
when
...
then
profit!!
end

end




--
View this message in context: http://drools.46999.n3.nabble.com/Drools-Template-conditionally-add-a-rule-tp4023585.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list