<?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 Rule package for two or more processes in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/rule-package-for-two-or-more-processes/m-p/101304#M70311</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've created different processes in activiti with business rule tasks and it works fine. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But now I want to use the same set of business rules in two different process definitions. Is it possible to deploy a bar file just with a *.drl files and connect both process definitions with this bar file or is there any other possibility?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The advantages of using a rule engine is that I can use the same rules in different relations. I also have features like revision control…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; But if I can just use a set of rules in one process definition these advantages are not present anymore.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your support &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jul 2012 08:26:28 GMT</pubDate>
    <dc:creator>jusc</dc:creator>
    <dc:date>2012-07-19T08:26:28Z</dc:date>
    <item>
      <title>Rule package for two or more processes</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rule-package-for-two-or-more-processes/m-p/101304#M70311</link>
      <description>Hi,I've created different processes in activiti with business rule tasks and it works fine. But now I want to use the same set of business rules in two different process definitions. Is it possible to deploy a bar file just with a *.drl files and connect both process definitions with this bar file o</description>
      <pubDate>Thu, 19 Jul 2012 08:26:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rule-package-for-two-or-more-processes/m-p/101304#M70311</guid>
      <dc:creator>jusc</dc:creator>
      <dc:date>2012-07-19T08:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Rule package for two or more processes</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rule-package-for-two-or-more-processes/m-p/101305#M70312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The rules are "deployed" and available in a per-deployment basis. I imagine that adding both your process-definitions in the same bar as the rules-file, will make the rules available in both of your processes.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 08:29:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rule-package-for-two-or-more-processes/m-p/101305#M70312</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-07-19T08:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Rule package for two or more processes</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rule-package-for-two-or-more-processes/m-p/101306#M70313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your immediate reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For my Project it's very important that all process are stored in an own bar file. If I would only use one bar file including all available processes and rules, I have to update the whole bar file everytime when change just one process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to store the business rules in a rule repository and activiti is kind of "linked" to this repository?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 11:52:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rule-package-for-two-or-more-processes/m-p/101306#M70313</guid>
      <dc:creator>jusc</dc:creator>
      <dc:date>2012-07-19T11:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Rule package for two or more processes</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rule-package-for-two-or-more-processes/m-p/101307#M70314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As rules are added to a KnowledgeBase and kept in the deployment-cache on a per-deployment basis. When a rule-task is executed, a state full knowledge-base is created of this shared one. There is currently no mechanism that supports rules to be shared cross-deployment or system-wide.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess the reasoning behind this is quite simple: The rules that go with a process are bundled together. If a developer would update one of the two parts (process or rules) , both resources are deployed again. If another process would use the same rules, deploying a new version of the rules would potentially break the existing process-definition, which is not redeployed and could be using rules that aren't in the new deployment anymore. Also, when existing "processes" are running and a new process/rule-set is deployed, the old processes will keep using the "old" rules, as the new processes will us the rules in the new deployment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could always try to alter the behavior of the BusinessRuleTaskActivitybehaviour to include additional KnowledgeBase(s), but this required modifying activiti source-code.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 12:46:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rule-package-for-two-or-more-processes/m-p/101307#M70314</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-07-19T12:46:34Z</dc:date>
    </item>
  </channel>
</rss>

