cancel
Showing results for 
Search instead for 
Did you mean: 

Example on Rule task

vikramas
Champ in-the-making
Champ in-the-making

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.

3 REPLIES 3

bassam_al-saror
Star Collaborator
Star Collaborator

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
Champ in-the-making
Champ in-the-making

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

Hi, 

Did you able to solve the issue? I am currently having the same issue "org.activiti.engine.ActivitiException: deployment 1613 doesn't contain any rules" , if you solved it could you please let me know how you resolved it ?