Example on Rule task

cancel
Showing results for 
Search instead for 
Did you mean: 
vikramas
Member II

Example on Rule task

In activit BPMN i'm not able to find examples on rule task. And one example I tried but it gave the below exception

java.lang.NoClassDefFoundError: org/drools/runtime/rule/AgendaFilter.

So, can anyone able to tell or share the information regarding how to work with business rules in activiti.

2 Replies
bassam_al-saror
Senior Member

Re: Example on Rule task

Seems you are missing some drools dependencies. org/drools/runtime/rule/AgendaFilter is part of knowledge api module Maven Repository: org.drools » knowledge-api 

vikramas
Member II

Re: Example on Rule task

I solved the above exception by deploying dependencies in activiti-explorer/WEB-INF folder. But now I'm getting org.activiti.engine.ActivitiException: deployment 1613 doesn't contain any rules. But if i unzip the bar file I can see .drl and and bpmn.xml file , that only I deployed. And I have deployed jar file of model class in web/inf folder. I'm not getting why it is not getting drl file.

Can anyone suggest me how to deploy the business rule task