AnsweredAssumed Answered

BusinessRuleTask - deploy error

Question asked by rdenner on Mar 8, 2011
Latest reply on Nov 30, 2012 by mrhu
Hi,

I want to use the new BusinessRuleTask element for a test.
I defined a rule (drl) file, which I include in the Business Archive (bar).
I modeled a simple process and two forms. The BusinessRuleTask
executes 2 rules, gets 2 input variables and delivers 1 result variable.

Here is an example of one of my rules:


rule "salarycheck"

when
    (salary > 3000) && (age < 30)
then
    ruleOutput = "pattern1";
end

I wanted to deploy the bar file, but I get the error:
java.lang.NoClassDefFoundError: org/drools/runtime/rule/AgendaFilter

Do I need the Drools package for working with the BusinessRuleTask?
Does anyone have a simple example?

Thanks & Regards,
Rainer.

Outcomes