<?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: Can two Process Engines run from the same database? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/can-two-process-engines-run-from-the-same-database/m-p/86765#M58695</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am currently re-writing our workflow in our product to use a new engine that supports workflows generated by implementation managers. The current workflow engine has a whole pile of code that essentially duplicates the state machine that Activiti is handling.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wanted to run a separate Activiti engine such that I can completely separate the old and new workflow code to make the legacy code removal at the end of this process much easier.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, basically to make the engines completely separate, I will need to use a different configuration file that starts the Activiti engine in a different database?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Marc&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Sep 2012 10:57:21 GMT</pubDate>
    <dc:creator>marcthomas2012</dc:creator>
    <dc:date>2012-09-24T10:57:21Z</dc:date>
    <item>
      <title>Can two Process Engines run from the same database?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-two-process-engines-run-from-the-same-database/m-p/86761#M58691</link>
      <description>Hi,I was planning to have to process engines created using the code extract below, which share the same database and configuration file. Is this possible or will things go horribly wrong?ProcessEngineConfiguration.createProcessEngineConfigurationFromResource("activiti.cfg.xml")&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;</description>
      <pubDate>Fri, 21 Sep 2012 11:39:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-two-process-engines-run-from-the-same-database/m-p/86761#M58691</guid>
      <dc:creator>marcthomas2012</dc:creator>
      <dc:date>2012-09-21T11:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Can two Process Engines run from the same database?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-two-process-engines-run-from-the-same-database/m-p/86762#M58692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, this is possible&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2012 14:47:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-two-process-engines-run-from-the-same-database/m-p/86762#M58692</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2012-09-21T14:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: Can two Process Engines run from the same database?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-two-process-engines-run-from-the-same-database/m-p/86763#M58693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have just got to the point of trying this and I partly thought that because the process engine had a different name that it would behave independently of the other process engine, even if they were using the same database. This turns out to be an incorrect assumption. In hindsight I think this is fair enough.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll just have to work a slightly different way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Marc&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2012 15:09:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-two-process-engines-run-from-the-same-database/m-p/86763#M58693</guid>
      <dc:creator>marcthomas2012</dc:creator>
      <dc:date>2012-09-21T15:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can two Process Engines run from the same database?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-two-process-engines-run-from-the-same-database/m-p/86764#M58694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What are you trying to accomplish by running two engines on the same database?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that this is not an uncommon thing: in a clustered environment this will always happen.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 09:06:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-two-process-engines-run-from-the-same-database/m-p/86764#M58694</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2012-09-24T09:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: Can two Process Engines run from the same database?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-two-process-engines-run-from-the-same-database/m-p/86765#M58695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am currently re-writing our workflow in our product to use a new engine that supports workflows generated by implementation managers. The current workflow engine has a whole pile of code that essentially duplicates the state machine that Activiti is handling.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wanted to run a separate Activiti engine such that I can completely separate the old and new workflow code to make the legacy code removal at the end of this process much easier.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, basically to make the engines completely separate, I will need to use a different configuration file that starts the Activiti engine in a different database?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Marc&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 10:57:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-two-process-engines-run-from-the-same-database/m-p/86765#M58695</guid>
      <dc:creator>marcthomas2012</dc:creator>
      <dc:date>2012-09-24T10:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Can two Process Engines run from the same database?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-two-process-engines-run-from-the-same-database/m-p/86766#M58696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, you can have two activiti engines, with two different configuration files that go to the same database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't see any issues with the approach you mention: keep running the old stuff with the old workflow, and use the activiti engine for the new stuff. That's exactly how we handle jbpm -&amp;gt; activiti migration in Alfresco.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 08:46:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-two-process-engines-run-from-the-same-database/m-p/86766#M58696</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2012-09-25T08:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Can two Process Engines run from the same database?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-two-process-engines-run-from-the-same-database/m-p/86767#M58697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The issue I found with the current way I was launching both engines, was that when each engine would ask Activiti which tasks does user with ID "1" have it would return the same task list for both engines. I'm assuming this is because the database is the same and therefore user with ID "1" will always return the tasks started by the old engine and the new engine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you saying that it should be possible to use the same database and have two engines such that the old engine will only return activiti tasks for user "1" that were created in the old engine and the new engine could get the tasks created by the new engine, despite the user id being exactly the same?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Marc&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 09:16:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-two-process-engines-run-from-the-same-database/m-p/86767#M58697</guid>
      <dc:creator>marcthomas2012</dc:creator>
      <dc:date>2012-09-25T09:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: Can two Process Engines run from the same database?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-two-process-engines-run-from-the-same-database/m-p/86768#M58698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The issue I found with the current way I was launching both engines, was that when each engine would ask Activiti which tasks does user with ID "1" have it would return the same task list for both engines. I'm assuming this is because the database is the same and therefore user with ID "1" will always return the tasks started by the old engine and the new engine.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I think that's pretty logical … it's the same data after all &lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Are you saying that it should be possible to use the same database and have two engines such that the old engine will only return activiti tasks for user "1" that were created in the old engine and the new engine could get the tasks created by the new engine, despite the user id being exactly the same?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't quite follow. You want one engine to see 'some' data and the other one the 'other' data? That's not feasible with a lot of customization from your side.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You could run on different database schema's, but then you don't have 'shared data', which I understand from your comment.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 07:49:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-two-process-engines-run-from-the-same-database/m-p/86768#M58698</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2012-09-26T07:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Can two Process Engines run from the same database?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-two-process-engines-run-from-the-same-database/m-p/86769#M58699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okay, thanks. I understand now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Marc&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 09:09:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-two-process-engines-run-from-the-same-database/m-p/86769#M58699</guid>
      <dc:creator>marcthomas2012</dc:creator>
      <dc:date>2012-09-26T09:09:45Z</dc:date>
    </item>
  </channel>
</rss>

