<?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: Job Table Lines deleted When process reaches one of multiple ends in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/job-table-lines-deleted-when-process-reaches-one-of-multiple/m-p/184464#M137594</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The problem is that the job executor is 'too fast', both the scripts are executed and there is no check in the end event … from a threading point of view both happen 'at the same time'. Adding a parallelway gateway (with async=true to be sure) that joins resolves the problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Apr 2015 14:11:56 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2015-04-14T14:11:56Z</dc:date>
    <item>
      <title>Job Table Lines deleted When process reaches one of multiple ends</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/job-table-lines-deleted-when-process-reaches-one-of-multiple/m-p/184456#M137586</link>
      <description>Hello.I'm trying to implement a mechanism that shows each activiti task and it's state (before running/ while/ after/ failed)The failed activities are those which are active but has 0 retries.I retrieve this information using management service - managementService.createJobQuery().processInstanceId(</description>
      <pubDate>Mon, 23 Mar 2015 09:51:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/job-table-lines-deleted-when-process-reaches-one-of-multiple/m-p/184456#M137586</guid>
      <dc:creator>eransinger</dc:creator>
      <dc:date>2015-03-23T09:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Job Table Lines deleted When process reaches one of multiple ends</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/job-table-lines-deleted-when-process-reaches-one-of-multiple/m-p/184457#M137587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do you have a JUnit test for that ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if so please upload it here.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 15:09:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/job-table-lines-deleted-when-process-reaches-one-of-multiple/m-p/184457#M137587</guid>
      <dc:creator>vasile_dirla</dc:creator>
      <dc:date>2015-03-23T15:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Job Table Lines deleted When process reaches one of multiple ends</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/job-table-lines-deleted-when-process-reaches-one-of-multiple/m-p/184458#M137588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No. unfortunately no&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 16:18:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/job-table-lines-deleted-when-process-reaches-one-of-multiple/m-p/184458#M137588</guid>
      <dc:creator>eransinger</dc:creator>
      <dc:date>2015-03-24T16:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Job Table Lines deleted When process reaches one of multiple ends</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/job-table-lines-deleted-when-process-reaches-one-of-multiple/m-p/184459#M137589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Eran,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At what moment are you executing the job query?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you check if the process instance was ended completely as well?&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:47:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/job-table-lines-deleted-when-process-reaches-one-of-multiple/m-p/184459#M137589</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2015-03-26T07:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Job Table Lines deleted When process reaches one of multiple ends</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/job-table-lines-deleted-when-process-reaches-one-of-multiple/m-p/184460#M137590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I did some more testing: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After eliminating a lot of the factors i discovered what i think is a regression:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i'm wrote a basic process with start-&amp;gt;parallel gateway-&amp;gt; two identical "hello world" script -&amp;gt; two ends&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i'm deploying two different processes: one is a untouched and on the other i'm adding the parameter: activiti:async="true"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;this parameter is absent when i create a process through the activiti-explorer, although i marked async as true on the gui.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The results are that the one with the async parameter get's stuck on one of the scripts. It's job is deleted from the table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;THIS HAPPENS on activiti 5.17.0 but not with activiti 5.12&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So it looks like a regression.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I correct or is there some change I'm missing?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm attaching both processes - with and without the async parameter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 11:59:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/job-table-lines-deleted-when-process-reaches-one-of-multiple/m-p/184460#M137590</guid>
      <dc:creator>eransinger</dc:creator>
      <dc:date>2015-03-26T11:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Job Table Lines deleted When process reaches one of multiple ends</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/job-table-lines-deleted-when-process-reaches-one-of-multiple/m-p/184461#M137591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;gt; The results are that the one with the async parameter get's stuck on one of the scripts. It's job is deleted from the table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What do you mean with 'stuck'?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you sure the job executor is enabled? That Groovy is on the classpath?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 08:04:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/job-table-lines-deleted-when-process-reaches-one-of-multiple/m-p/184461#M137591</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-03-31T08:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Job Table Lines deleted When process reaches one of multiple ends</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/job-table-lines-deleted-when-process-reaches-one-of-multiple/m-p/184462#M137592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;yes, JobExecutore is enabled and active.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;groovy is not the issue - you can see if you try running the examples that both scripts are identical and without the "async" parameter scripts are working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from what i see, when you try running the workflow with the "async" param- once one of the executions reaches an end task - all jobs that are related to the process are deleted (although process still exist).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it reproduces easily with the examples attached earlier&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 12:57:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/job-table-lines-deleted-when-process-reaches-one-of-multiple/m-p/184462#M137592</guid>
      <dc:creator>eransinger</dc:creator>
      <dc:date>2015-04-08T12:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Job Table Lines deleted When process reaches one of multiple ends</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/job-table-lines-deleted-when-process-reaches-one-of-multiple/m-p/184463#M137593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Indeed I could reproduce Eran's problem. It is quite easy to reproduce. Just deploy the&amp;nbsp; async.bpmn20.xml_.txt (after you rename the file). Then start a new instance. You will see that both scripts indeed ended but from some reason the instance is not completed. Can you explain this? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Apr 2015 13:39:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/job-table-lines-deleted-when-process-reaches-one-of-multiple/m-p/184463#M137593</guid>
      <dc:creator>barkukesh</dc:creator>
      <dc:date>2015-04-12T13:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Job Table Lines deleted When process reaches one of multiple ends</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/job-table-lines-deleted-when-process-reaches-one-of-multiple/m-p/184464#M137594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The problem is that the job executor is 'too fast', both the scripts are executed and there is no check in the end event … from a threading point of view both happen 'at the same time'. Adding a parallelway gateway (with async=true to be sure) that joins resolves the problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 14:11:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/job-table-lines-deleted-when-process-reaches-one-of-multiple/m-p/184464#M137594</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-04-14T14:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Job Table Lines deleted When process reaches one of multiple ends</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/job-table-lines-deleted-when-process-reaches-one-of-multiple/m-p/184465#M137595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Indeed I found out that adding the gateway solve the problem. But from BPMN perspective this is a definite bug. It is certainly legal to use two none end event (not terminate end event)&amp;nbsp; and expect the process instance to complete. Should we report a bug? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 14:34:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/job-table-lines-deleted-when-process-reaches-one-of-multiple/m-p/184465#M137595</guid>
      <dc:creator>barkukesh</dc:creator>
      <dc:date>2015-04-14T14:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Job Table Lines deleted When process reaches one of multiple ends</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/job-table-lines-deleted-when-process-reaches-one-of-multiple/m-p/184466#M137596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Although the process definition is valid bpmn, the best practice is to always add a join parallel gateway. But I agree it should not happen. The priority of this issue is not high though, because it's not best practice BPMN.&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, 16 Apr 2015 13:47:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/job-table-lines-deleted-when-process-reaches-one-of-multiple/m-p/184466#M137596</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2015-04-16T13:47:15Z</dc:date>
    </item>
  </channel>
</rss>

