<?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: How to connect a created process(and its tasks) to one ProcessEngine for execution in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-connect-a-created-process-and-its-tasks-to-one/m-p/157105#M111305</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Reading your requirements, I indeed think you need some smart proxy … maybe another approach could be the implement custom implementations of all the services, wrap the existing ones and do the routing on some custom logic…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Sep 2013 08:17:57 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2013-09-13T08:17:57Z</dc:date>
    <item>
      <title>How to connect a created process(and its tasks) to one ProcessEngine for execution</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-connect-a-created-process-and-its-tasks-to-one/m-p/157099#M111299</link>
      <description>Hi,I would like to use Activiti in my application. As far as I have understand it is possible to share one Repository with more then one ProcessEngine, but when a Process is initiated it cannot be said where its tasks are executed during its runtime (especially timer tasks).Is it possible to connect</description>
      <pubDate>Fri, 06 Sep 2013 07:25:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-connect-a-created-process-and-its-tasks-to-one/m-p/157099#M111299</guid>
      <dc:creator>dergrahl</dc:creator>
      <dc:date>2013-09-06T07:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect a created process(and its tasks) to one ProcessEngine for execution</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-connect-a-created-process-and-its-tasks-to-one/m-p/157100#M111300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Alexander,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could implement your own job executor component and implement the logic which job has to be processed by which job executor there. Maybe by adding a specific process variable or so you could make the distinction. I must however say that without any background knowledge of your use case, it doesn't sound like a good approach to make the job executors server aware.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Sep 2013 08:12:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-connect-a-created-process-and-its-tasks-to-one/m-p/157100#M111300</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-09-06T08:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect a created process(and its tasks) to one ProcessEngine for execution</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-connect-a-created-process-and-its-tasks-to-one/m-p/157101#M111301</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;the background is, that there will be many file resources which have to be handled by the tasks (&amp;gt;1GB). So it is necessary that the tasks is running in the application node where these resources are available.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the hint with the job executer,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alexander&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Sep 2013 08:20:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-connect-a-created-process-and-its-tasks-to-one/m-p/157101#M111301</guid>
      <dc:creator>dergrahl</dc:creator>
      <dc:date>2013-09-06T08:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect a created process(and its tasks) to one ProcessEngine for execution</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-connect-a-created-process-and-its-tasks-to-one/m-p/157102#M111302</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 had now a look at the JobExecuter implementation. Currently I do not see that it would so simple to extend the JobExecuter to use a value for just selecting only the tasks for its node.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I have to implement a whole new implementation which also uses other sql statements to select the tasks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any hints on the JobExecuter? From there I think the AcquireJobsCmd and here the &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;List&amp;lt;JobEntity&amp;gt; jobs = commandContext&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .getJobEntityManager()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .findNextJobsToExecute(new Page(0, maxNonExclusiveJobsPerAcquisition));&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;must be changed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alexander&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Sep 2013 11:20:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-connect-a-created-process-and-its-tasks-to-one/m-p/157102#M111302</guid>
      <dc:creator>dergrahl</dc:creator>
      <dc:date>2013-09-06T11:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect a created process(and its tasks) to one ProcessEngine for execution</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-connect-a-created-process-and-its-tasks-to-one/m-p/157103#M111303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Maybe it makes sense in your use case to have separate Activiti Engine + DB per server. So what I mean is have a separate Activiti DB per Activiti Engine. This means that the job executor always executes on the same server. The only downside is of course that you need multiple Activiti DB instances. But for your use case this seems like a better approach then re-implementing the job executor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Sep 2013 14:45:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-connect-a-created-process-and-its-tasks-to-one/m-p/157103#M111303</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-09-06T14:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect a created process(and its tasks) to one ProcessEngine for execution</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-connect-a-created-process-and-its-tasks-to-one/m-p/157104#M111304</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 thought about this scenario too, but I see some downsides on this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- a nodes can be created very easy, but it would be difficult to always create a new database just for a new node (database administrators do not like that :-))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Backup gets more complicated&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Monitoring becomes very complicated&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Currently all my nodes share a common database, I would like to keep it this way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another approach could be to have some nodes to be Activiti nodes, which handle the execution of the Processes and tasks, and the tasks are only proxies, which then call the approbiated task on the other nodes. But this is also not so easy to implement &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does'nt anybody else had this problem before? I like the idea to design the process in BPMN 2, this is a very felexible way to handle customer specific needs. But in case you have large data to process, it is not so easy to handle or implement that. I will think little bit more about the proxy approach.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alexander&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Sep 2013 07:46:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-connect-a-created-process-and-its-tasks-to-one/m-p/157104#M111304</guid>
      <dc:creator>dergrahl</dc:creator>
      <dc:date>2013-09-07T07:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect a created process(and its tasks) to one ProcessEngine for execution</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-connect-a-created-process-and-its-tasks-to-one/m-p/157105#M111305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Reading your requirements, I indeed think you need some smart proxy … maybe another approach could be the implement custom implementations of all the services, wrap the existing ones and do the routing on some custom logic…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 08:17:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-connect-a-created-process-and-its-tasks-to-one/m-p/157105#M111305</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-09-13T08:17:57Z</dc:date>
    </item>
  </channel>
</rss>

