<?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 Re: BusinessRuleTask // icon + implementation in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/businessruletask-icon-implementation/m-p/204576#M157706</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;This is the reason of the classCast :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;name&amp;gt;Activiti - Engine&amp;lt;/name&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;artifactId&amp;gt;activiti-engine&amp;lt;/artifactId&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;parent&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;groupId&amp;gt;org.activiti&amp;lt;/groupId&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;artifactId&amp;gt;activiti-root&amp;lt;/artifactId&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;relativePath&amp;gt;../..&amp;lt;/relativePath&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;version&amp;gt;5.17.0-SNAPSHOT&amp;lt;/version&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;/parent&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dependency&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;groupId&amp;gt;org.drools&amp;lt;/groupId&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;artifactId&amp;gt;drools-core&amp;lt;/artifactId&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;scope&amp;gt;provided&amp;lt;/scope&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/dependency&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;dependency&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;groupId&amp;gt;org.drools&amp;lt;/groupId&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;artifactId&amp;gt;drools-compiler&amp;lt;/artifactId&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;scope&amp;gt;provided&amp;lt;/scope&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/dependency&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;… And actually this lib is not present in activiti.explorer's distribution // supposed to be in the classpath&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Nov 2014 16:06:23 GMT</pubDate>
    <dc:creator>skay</dc:creator>
    <dc:date>2014-11-06T16:06:23Z</dc:date>
    <item>
      <title>BusinessRuleTask // icon + implementation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/businessruletask-icon-implementation/m-p/204571#M157701</link>
      <description>Hi,This topic is actually for both forums : designer and engine.I would like to keep the bpm icon semantic of BusinessRuleTask, but we have our own RuleEngine implementation / not a drools 5.5 lib directly in the classpath, but rather a kind of remote executor.This is currently possible / User Guide</description>
      <pubDate>Sat, 01 Nov 2014 14:45:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/businessruletask-icon-implementation/m-p/204571#M157701</guid>
      <dc:creator>skay</dc:creator>
      <dc:date>2014-11-01T14:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: BusinessRuleTask // icon + implementation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/businessruletask-icon-implementation/m-p/204572#M157702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;* I need to put the drools library within my classpath just for having the visual representation of "BusinessRuleTask" BPMN component in my process&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't get that. It shouldn't be needed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All behaviours are instantiated by the org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory. You can extends the default one and return your own implementation for the business rule task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* A new feature of the designer/modeler would be to let the user link the freedom of bpmn tasks icons (why not custom icon?!). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That is possible with custom elements in the designer. See &lt;/SPAN&gt;&lt;A href="http://activiti.org/userguide/index.html#eclipseDesignerCustomizingPalette" rel="nofollow noopener noreferrer"&gt;http://activiti.org/userguide/index.html#eclipseDesignerCustomizingPalette&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 10:50:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/businessruletask-icon-implementation/m-p/204572#M157702</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-11-03T10:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: BusinessRuleTask // icon + implementation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/businessruletask-icon-implementation/m-p/204573#M157703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK, this is the exercpt of my bpmn&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;businessRuleTask id="businessruletask1" name="Business rule task" activiti:class="messagein.RuleEngineDelegate"&amp;gt;&amp;lt;/businessRuleTask&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Works OK if serviceTask instead of businessRuleTask.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the ClassNotFound stack trace :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;java.lang.NoClassDefFoundError: org/drools/runtime/rule/AgendaFilter&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.bpmn.parser.factory.DefaultActivityBehaviorFactory.createBusinessRuleTaskActivityBehavior(DefaultActivityBehaviorFactory.java:232)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.test.TestActivityBehaviorFactory.createBusinessRuleTaskActivityBehavior(TestActivityBehaviorFactory.java:239)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.bpmn.parser.handler.BusinessRuleParseHandler.executeParse(BusinessRuleParseHandler.java:37)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So it breaks out when parsing bpmn.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Seems like&amp;nbsp; activiti:class="messagein.RuleEngineDelegate" is ignored ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally, I tried those solutions :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;businessRuleTask id="businessruletask1" activiti:class="messagein.RuleEngineDelegate"&amp;gt;&amp;lt;/businessRuleTask&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;businessRuleTask id="businessruletask1" activiti:class="${messagein.RuleEngineDelegate"}&amp;gt;&amp;lt;/businessRuleTask&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;businessRuleTask id="businessruletask1" activiti:delegateExpression="${ruleEngineDelegate}" &amp;gt;&amp;lt;/businessRuleTask&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But all are throwing the ClassNotFound ..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 21:23:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/businessruletask-icon-implementation/m-p/204573#M157703</guid>
      <dc:creator>skay</dc:creator>
      <dc:date>2014-11-03T21:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: BusinessRuleTask // icon + implementation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/businessruletask-icon-implementation/m-p/204574#M157704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I can fix the problem tweaking the source :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;public class BusinessRuleParseHandler extends&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; AbstractActivityBpmnParseHandler&amp;lt;BusinessRuleTask&amp;gt; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; public Class&amp;lt;? extends BaseElement&amp;gt; getHandledType() {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; return BusinessRuleTask.class;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; @Override&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; protected void executeParse(BpmnParse bpmnParse,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; BusinessRuleTask businessRuleTask) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; ActivityImpl activity = createActivityOnCurrentScope(bpmnParse,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; businessRuleTask, BpmnXMLConstants.ELEMENT_TASK_BUSINESSRULE);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; activity.setAsync(businessRuleTask.isAsynchronous());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; activity.setExclusive(!businessRuleTask.isNotExclusive());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;//FIXXX&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; if (businessRuleTask.getClassName()!=null) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; ClassDelegate cd= new ClassDelegate(businessRuleTask.getClassName(), null);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; activity.setActivityBehavior(cd);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; } else {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;///ORIG&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; activity.setActivityBehavior(bpmnParse.getActivityBehaviorFactory()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .createBusinessRuleTaskActivityBehavior(businessRuleTask));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 21:44:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/businessruletask-icon-implementation/m-p/204574#M157704</guid>
      <dc:creator>skay</dc:creator>
      <dc:date>2014-11-03T21:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: BusinessRuleTask // icon + implementation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/businessruletask-icon-implementation/m-p/204575#M157705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Which is why I said you need to change&amp;nbsp; org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory implementation and indeed probably the handler. If you want to change the default behaviour (and keep using the businessRuleTask xml), it's the only way&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2014 12:55:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/businessruletask-icon-implementation/m-p/204575#M157705</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-11-05T12:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: BusinessRuleTask // icon + implementation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/businessruletask-icon-implementation/m-p/204576#M157706</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;This is the reason of the classCast :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;name&amp;gt;Activiti - Engine&amp;lt;/name&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;artifactId&amp;gt;activiti-engine&amp;lt;/artifactId&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;parent&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;groupId&amp;gt;org.activiti&amp;lt;/groupId&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;artifactId&amp;gt;activiti-root&amp;lt;/artifactId&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;relativePath&amp;gt;../..&amp;lt;/relativePath&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;version&amp;gt;5.17.0-SNAPSHOT&amp;lt;/version&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;/parent&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dependency&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;groupId&amp;gt;org.drools&amp;lt;/groupId&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;artifactId&amp;gt;drools-core&amp;lt;/artifactId&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;scope&amp;gt;provided&amp;lt;/scope&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/dependency&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;dependency&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;groupId&amp;gt;org.drools&amp;lt;/groupId&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;artifactId&amp;gt;drools-compiler&amp;lt;/artifactId&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;scope&amp;gt;provided&amp;lt;/scope&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/dependency&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;… And actually this lib is not present in activiti.explorer's distribution // supposed to be in the classpath&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 16:06:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/businessruletask-icon-implementation/m-p/204576#M157706</guid>
      <dc:creator>skay</dc:creator>
      <dc:date>2014-11-06T16:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: BusinessRuleTask // icon + implementation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/businessruletask-icon-implementation/m-p/204577#M157707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, because the scope is 'provided'. Meaning, if you need it, you need to put it on the classpath yourself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But in your case, it shouldn't be if you need Drools and replace the existing business rule logic yourself.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 11:08:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/businessruletask-icon-implementation/m-p/204577#M157707</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-11-10T11:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: BusinessRuleTask // icon + implementation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/businessruletask-icon-implementation/m-p/204578#M157708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;" it shouldn't be if you need Drools and replace the existing business rule logic yourself"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt; This is the intention of the code / and User Guide notice :&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.activiti.org/userguide/#bpmnBusinessRuleTask" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/userguide/#bpmnBusinessRuleTask&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;businessRuleTask id="businessRuleTask" activiti:class="ch.ectropy.MyBusinessRule" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately, a hook over BusinessRuleTaskActivityBehavior is not working the because activiti:class value is not handled properly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; (no usage of BusinessRuleTask.getClassName() in the code !)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;DefaultActivityBehaviourFactory is *always* creating a new instance of the BusinessRuleTaskActivityBehavior :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; public BusinessRuleTaskActivityBehavior createBusinessRuleTaskActivityBehavior(BusinessRuleTask businessRuleTask) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BusinessRuleTaskActivityBehavior ruleActivity = new BusinessRuleTaskActivityBehavior();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;see pull request #427 for a simple fix proposal.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But maybe a harder refactoring is required here…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 23:34:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/businessruletask-icon-implementation/m-p/204578#M157708</guid>
      <dc:creator>skay</dc:creator>
      <dc:date>2014-11-10T23:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: BusinessRuleTask // icon + implementation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/businessruletask-icon-implementation/m-p/204579#M157709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not following here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt; DefaultActivityBehaviourFactory is *always* creating a new instance of the BusinessRuleTaskActivityBehavior :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which is why you need to swap out the activityBehaviour so it doesn't do that, right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To help this discussion: can you put your work in a unit test that demonstrates what you are tying to do?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 20:04:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/businessruletask-icon-implementation/m-p/204579#M157709</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-11-18T20:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: BusinessRuleTask // icon + implementation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/businessruletask-icon-implementation/m-p/204580#M157710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, thats right; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally, the followings should be a good solution for a refactoring.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt; Camel task, mule task, and even mail task are built upon a Service Task pattern.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think that the BusinessRule Task should move to that pattern / should be unified in order to inherit from the delegate expression, etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And the ServiceLocator-like parttern used for Camel Task should be applied the same for the BusinessRule Task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 21:36:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/businessruletask-icon-implementation/m-p/204580#M157710</guid>
      <dc:creator>skay</dc:creator>
      <dc:date>2014-11-18T21:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: BusinessRuleTask // icon + implementation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/businessruletask-icon-implementation/m-p/204581#M157711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;gt; I think that the BusinessRule Task should move to that pattern / should be unified in order to inherit from the delegate expression, etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why? We want to encapsulate the business rule task and only expose what is relevant for it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you don't like it, you can swap it out using the approach above with whatever implementation you want. Not many people have the use case of needing to do that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 08:13:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/businessruletask-icon-implementation/m-p/204581#M157711</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-11-20T08:13:49Z</dc:date>
    </item>
  </channel>
</rss>

