AnsweredAssumed Answered

Unable to connect Activiti with drools

Question asked by deepakchoudhary on May 30, 2013
Latest reply on Nov 4, 2015 by ricardolegorreta
I want to integrate drools rules with activiti and on deploying my .BAR file (which contains .drl file also) I get an error message Deployment xxxx does not contain rules.
I am new to java, activiti and drools.

I have followed the steps on the thread
therefor I have added these jars to /path/to/webapps/activiti-explorer/WEB-INF/libs/ as well as to the maven dependencies in my project:

Also I have edited the applicationContext.xml file  in /path/to/webapps/activiti-explorer/

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns=""
   xmlns:xsi="" xmlns:context=""
   xmlns:tx="" xmlns:jee=""
  <import resource="activiti-standalone-context.xml" />
  <import resource="activiti-ui-context.xml" />
   <bean id="processEngineConfiguration" class="org.activiti.engine.impl.cfg.StandaloneInMemProcessEngineConfiguration">
      <property name="databaseSchemaUpdate" value="true" />
      <property name="customPostDeployers">
            <bean class="org.activiti.engine.impl.rules.RulesDeployer" />

I have created a simple project using eclipse with a bpmn file and a business rule.
After deploying when I start the process and the user fills the form an error occurs- Deployment xxxx does not contain rules.
The user at the thread I have mentioned above suggested to read chapter 12 of the book- activiti in action, but I could not understand much of it. For eg in which directory should I include the java code, mentioned in the book, with my project.
Any help would be highly appreciated.