<?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 Task Migration using Activiti in distributed way  in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/task-migration-using-activiti-in-distributed-way/m-p/147202#M102767</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 involved in research project where I need to migrate task over a set of host machines (i.e. to run the task in the data proximity rather than migrating the data like general scientific workflows.). The migration will be done by evaluating certain constraints in the process.&amp;nbsp; I was wondering if I could develop this functionality over activiti engine. I have&amp;nbsp; trying to figure out ways to maybe suspend the process instance one machine and activate the instance on other machine so it runs on that machine. Somebody suggested that I use same database for all the engines on different hosts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am successful in doing that but I have to include wait states inside the definition so that I can signal the receive tasks using&amp;nbsp; rest api to activate the instance on other machine. This means every time I need a process to run in distributed manner I have to modify the process to include wait states. I was wondering if there would be another way to do so. Any suggestions&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Jun 2013 17:54:37 GMT</pubDate>
    <dc:creator>asshetye</dc:creator>
    <dc:date>2013-06-14T17:54:37Z</dc:date>
    <item>
      <title>Task Migration using Activiti in distributed way</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/task-migration-using-activiti-in-distributed-way/m-p/147202#M102767</link>
      <description>Hi,I am involved in research project where I need to migrate task over a set of host machines (i.e. to run the task in the data proximity rather than migrating the data like general scientific workflows.). The migration will be done by evaluating certain constraints in the process.&amp;nbsp; I was wondering</description>
      <pubDate>Fri, 14 Jun 2013 17:54:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/task-migration-using-activiti-in-distributed-way/m-p/147202#M102767</guid>
      <dc:creator>asshetye</dc:creator>
      <dc:date>2013-06-14T17:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: Task Migration using Activiti in distributed way</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/task-migration-using-activiti-in-distributed-way/m-p/147203#M102768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you make the tasks in the process definition asynchronous our job executor will already do everything distributed (when using Activiti on multiple servers with the same database) by default. Or do you want specific distributed behavior?&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>Mon, 17 Jun 2013 09:22:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/task-migration-using-activiti-in-distributed-way/m-p/147203#M102768</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-06-17T09:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Task Migration using Activiti in distributed way</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/task-migration-using-activiti-in-distributed-way/m-p/147204#M102769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes I want to particularly stop the task on one host and try to run it on different host (not halt the execution of task but halt the process before executing that task) and maybe bring back the control to the host originally running the process after finishing the task. Any ideas appreciated.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 00:43:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/task-migration-using-activiti-in-distributed-way/m-p/147204#M102769</guid>
      <dc:creator>asshetye</dc:creator>
      <dc:date>2013-06-18T00:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Task Migration using Activiti in distributed way</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/task-migration-using-activiti-in-distributed-way/m-p/147205#M102770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When an activity is marked as "async", the execution halts and the process-state is persisted. Next, the job is picked up by the job-executor and executes the "async" activity and all activities after it until a wait-state is reached, end is reached or another async-activity is reached. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could, for example, disable the jobExecutor on machine1 and enable it only on machine2. All asynchronous activities are always executed on machine2. When you put receiveTasks of user tasks after the async-activities, machine1 can then see these tasks and complete them to continue execution of the process on machine1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, if you want to have a more flexible system, you should create you're own solution with some kind of queuing, combined with receive-task/signal mechanism to indicate the work on machine2 is finished.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 07:43:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/task-migration-using-activiti-in-distributed-way/m-p/147205#M102770</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-06-18T07:43:04Z</dc:date>
    </item>
  </channel>
</rss>

