<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic BusinessRuleTask as Service Task (Integration with external Drools engine) not working. in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/businessruletask-as-service-task-integration-with-external/m-p/134372#M94317</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi ,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to use my own Drools engine for some reasons. I created a BusinessRuleTask somthing related to this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;businessRuleTask id="businessRuleTask" activiti:class="com.my.RuleDelegate" /&amp;gt; I got into two issues:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. I was expecting if I define a BusinessRuleTask as a ServiceTask then process engine wouldn't ask for Drools API, as my service is going to take care of it, but it is expecting specific Drools API at the time of deployment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. I am getting following error on starting the process&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;rg.activiti.engine.ActivitiException: deployment xxxx doesn't contain any rule&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;s. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not sure why it should look drl file in the deployment, as my RuleDelgate to take care of it, what i want to fake the BusinesssRuleTask with Service Task and this what exactly documentation says. ("if you want to plug in your implementation of the rule task, e.g. because you want to use Drools differently or you want to use a completly different rule engine, then you can use the class or expression attribute on the BusinessRuleTask and it will behave exactly like a ServiceTask" - Activiti User Guide 5.12.1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help in this regard is greatly appreciated. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Jul 2013 10:41:52 GMT</pubDate>
    <dc:creator>rahulkrs</dc:creator>
    <dc:date>2013-07-03T10:41:52Z</dc:date>
    <item>
      <title>BusinessRuleTask as Service Task (Integration with external Drools engine) not working.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/businessruletask-as-service-task-integration-with-external/m-p/134372#M94317</link>
      <description>Hi ,I am trying to use my own Drools engine for some reasons. I created a BusinessRuleTask somthing related to this:&amp;lt;businessRuleTask id="businessRuleTask" activiti:class="com.my.RuleDelegate" /&amp;gt; I got into two issues:1. I was expecting if I define a BusinessRuleTask as a ServiceTask then proc</description>
      <pubDate>Wed, 03 Jul 2013 10:41:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/businessruletask-as-service-task-integration-with-external/m-p/134372#M94317</guid>
      <dc:creator>rahulkrs</dc:creator>
      <dc:date>2013-07-03T10:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: BusinessRuleTask as Service Task (Integration with external Drools engine) not working.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/businessruletask-as-service-task-integration-with-external/m-p/134373#M94318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I used something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;businessRuleTask id="businessRuleTask" activiti:class=com.test.RuleDelegate"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This didn't work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2013 10:44:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/businessruletask-as-service-task-integration-with-external/m-p/134373#M94318</guid>
      <dc:creator>rahulkrs</dc:creator>
      <dc:date>2013-07-03T10:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: BusinessRuleTask as Service Task (Integration with external Drools engine) not working.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/businessruletask-as-service-task-integration-with-external/m-p/134374#M94319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The engine can never know "your class" will take care of the DRL files in the deployment, unless you tell him. You can disable the drool-deployer, by the way (just don't include a reference to the org.activiti.engine.impl.rules.RulesDeployer which -supprise- deployed the rules. Or deploy the .DRL-files using a different extension 'eg. my-rools.mydrl'), so the deployer doesn't pick those up. Later, when your custom service-task needs the rules, add all *.mydrl to the knowledge base instead. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another alternative is to subclass the DroolsDeployer to use whatever knoledgebase/rules you want when .drl-files are deployed…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2013 11:10:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/businessruletask-as-service-task-integration-with-external/m-p/134374#M94319</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-07-03T11:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: BusinessRuleTask as Service Task (Integration with external Drools engine) not working.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/businessruletask-as-service-task-integration-with-external/m-p/134375#M94320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a lot Fred ! Can you kindly help me with the doubts below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"The engine can never know "your class" will take care of the DRL files in the deployment, unless you tell him"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rahul: I have mentioned businessRuleTask id="businessRuleTask" activiti:class=com.test.RuleDelegate" this should have tell Activiti engine tnat I would use my own Delegate:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2.You can disable the drool-deployer, by the way (just don't include a reference to the org.activiti.engine.impl.rules.RulesDeployer which -supprise- deployed the rule&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rahul: Can you kindly help me with this solution ? I didn't find a way to do it, I have not used Drools anywhere in my deployment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rahul&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 12:39:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/businessruletask-as-service-task-integration-with-external/m-p/134375#M94320</guid>
      <dc:creator>rahulkrs</dc:creator>
      <dc:date>2013-07-16T12:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: BusinessRuleTask as Service Task (Integration with external Drools engine) not working.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/businessruletask-as-service-task-integration-with-external/m-p/134376#M94321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;1. That doesn't work… you can only have activiti:class on ServiceTask, ExecutionListener and TaskListener.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) This is in your process engine configuration. The activiti.cfg.xml file OR spring-context file you're using… In in doubt, add the file to your next reply (wrap in code-block please)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 12:17:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/businessruletask-as-service-task-integration-with-external/m-p/134376#M94321</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-07-17T12:17:00Z</dc:date>
    </item>
  </channel>
</rss>

