Hai,
I am trying to integrate activiti with drools
I have inserterted the activiti-cfg.jar , drools-api-5.5.0.jar, drools-compiler-5.5.0.Final.jar, drools-core-5.5.0.Final.jar and mvel2-2.1.3.Final.jar , in activiti-5.8\apps\apache-tomcat-6.0.37\webapps\activiti-explorer\WEB-INF\lib,
I have deployed zip file (contains ruleprocess.bpmn and rule.drl files) into activiti explorer successfully,but at the time of starting the process its giving error "Deployeement xxxx does't contain any rules "
this is my .drl file:
————————
rule "ruleauthentication"
when
ruleInput : RuleInput( order == "fozzie" )
then
RuleInput ruleinput=new RuleInput();
System.out.println("testing");
ruleInput.setOrder("ruleinput");
end
this is my .bpmn file:
—————————–
<code>
<process id="rulestest" name="RuleTest" isExecutable="true">
<businessRuleTask id="businessruletask1" name="Business rule task" activiti:ruleVariablesInput="${order}" activiti:rules="HelloWorld,secondrule" activiti:resultVariable="ruleoutput"></businessRuleTask>
<endEvent id="endevent1" name="End"></endEvent>
<startEvent id="startevent1" name="Start"></startEvent>
<userTask id="usertask1" name="kermit" activiti:assignee="kermit" activiti:candidateUsers="kermit">
<extensionElements>
<activiti:formProperty id="order" name="assign to" type="string" variable="order" required="true"></activiti:formProperty>
</extensionElements>
</userTask>
<sequenceFlow id="flow3" sourceRef="startevent1" targetRef="usertask1"></sequenceFlow>
<sequenceFlow id="flow4" sourceRef="usertask1" targetRef="businessruletask1"></sequenceFlow>
<userTask id="usertask2" name="fozzie" activiti:assignee="kermit" activiti:candidateUsers="fozzie"></userTask>
<sequenceFlow id="flow5" sourceRef="usertask2" targetRef="endevent1"></sequenceFlow>
<sequenceFlow id="flow6" sourceRef="businessruletask1" targetRef="usertask2"></sequenceFlow>
</process>
</code>
please help me to solve this .
thanks in advance.
Best Regards,
balu