<?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 Activiti creates multiple Runtime Tasks for a single synchronous process instance in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-creates-multiple-runtime-tasks-for-a-single-synchronous/m-p/188145#M141275</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 was implementing Activiti in a personal project of mine and was facing a peculiar issue. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, my process is a sequential process with no async or parallel executions. Now, when I complete one task, it is removed from the ACT_RU_TASK_ table and the next task's entry, according to the process definition, is created in the same db. Now, the problem is, I have noticed that a few times, I have multiple entries in the ACT_RU_TASK_ table for the same process instance even though I have no parallel executions whatsoever. So, technically, even if the execution (from the ACT_RU_EXECUTIONS) shows the current activity_Id, the the runtime task table has multiple entries for the same process. In a lot of cases, these task entries are the subsequent tasks of the activity at which the process currently is. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This kind of anomaly happens a few times (say 10 times for every 200 process instances deployed). Maybe, my understanding of the process creation and completion is incorrect. Would be really grateful if someone can help me around this problem.&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;Himanshu&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Mar 2015 13:34:51 GMT</pubDate>
    <dc:creator>himanshudewan</dc:creator>
    <dc:date>2015-03-25T13:34:51Z</dc:date>
    <item>
      <title>Activiti creates multiple Runtime Tasks for a single synchronous process instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-creates-multiple-runtime-tasks-for-a-single-synchronous/m-p/188145#M141275</link>
      <description>HiI was implementing Activiti in a personal project of mine and was facing a peculiar issue. So, my process is a sequential process with no async or parallel executions. Now, when I complete one task, it is removed from the ACT_RU_TASK_ table and the next task's entry, according to the process defin</description>
      <pubDate>Wed, 25 Mar 2015 13:34:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-creates-multiple-runtime-tasks-for-a-single-synchronous/m-p/188145#M141275</guid>
      <dc:creator>himanshudewan</dc:creator>
      <dc:date>2015-03-25T13:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti creates multiple Runtime Tasks for a single synchronous process instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-creates-multiple-runtime-tasks-for-a-single-synchronous/m-p/188146#M141276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Himanshu,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In a sequential process the ACT_RU_TASK should only contain one entry for a process instance. Maybe you can share your process definition and a screenshot of what you see in the database. Would be good to add some additional remarks about when exactly you see this happening.&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>Thu, 26 Mar 2015 07:27:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-creates-multiple-runtime-tasks-for-a-single-synchronous/m-p/188146#M141276</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2015-03-26T07:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti creates multiple Runtime Tasks for a single synchronous process instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-creates-multiple-runtime-tasks-for-a-single-synchronous/m-p/188147#M141277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi trademak&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the prompt reply. I am attaching a screenshot of the shot for a process instance for which we have multiple runtime tasks (this is ACT_RU_TASK table). Due to a non-disclosure clause associated with my project, I won't be able to provide you the process definition. However, I can provide you specific details with regards to it in case you require. Apologies for that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you think up of some particular reasons due to which such a behaviour may be seen? Could it be due to some configuration associated with spring or the db (mysql) or while defining the process definition?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;574056 1 573466 573466 test:17:567515&amp;nbsp; Print Documents NULL&amp;nbsp; label.printdocs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PrintDocuments NULL&amp;nbsp; NULL NULL 50 2015-03-05 17:06:54 NULL NULL 1&amp;nbsp; NULL&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;574093 1 573466 573466 test:17:567515&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Enrolment&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NULL&amp;nbsp;&amp;nbsp; label.enrollment Enrollment NULL&amp;nbsp; NULL NULL 50 2015-03-05 17:19:19 NULL NULL 1&amp;nbsp; NULL&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;According to ACT_RU_EXECUTION, the process with the pid 573466 is still at print documents stage.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 09:09:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-creates-multiple-runtime-tasks-for-a-single-synchronous/m-p/188147#M141277</guid>
      <dc:creator>himanshudewan</dc:creator>
      <dc:date>2015-03-26T09:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti creates multiple Runtime Tasks for a single synchronous process instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-creates-multiple-runtime-tasks-for-a-single-synchronous/m-p/188148#M141278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;gt; Can you think up of some particular reasons due to which such a behaviour may be seen&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No, and the scenario sounds very unlikely. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Without process definition, we are not able to say anything. The log lines you posted there are meaningless for us without context.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 08:06:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-creates-multiple-runtime-tasks-for-a-single-synchronous/m-p/188148#M141278</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-03-31T08:06:59Z</dc:date>
    </item>
  </channel>
</rss>

