<?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: Process instances got stuck at the parallel gateway in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/process-instances-got-stuck-at-the-parallel-gateway/m-p/177100#M130230</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;After further searching on forum I found the below link which very much resembles the situation where I am in.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.activiti.org/content/process-end-time-not-available-process-end-listener" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/content/process-end-time-not-available-process-end-listener&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have further explored and figured out that all the task of the main process as well as subprocesses triggered by the main process instance id are completed but the main or parent process instance does not have and end time, and action history for the same instance indicate that there is no end time for the parallel gateway which is the last step before completion of the instance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since we are using SpringProcessEngineConfiguration embedded in web server, I am not sure if there is any way to mark such instance completed again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could it be possible that the end time for the process instance is NULL because either ProcessInstanceEndHandler hasn't yet been invoked as the parallel gateway is not ended yet or it was invoked but the DB changes wasn't flushed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just wondering if the first condition above is true then how can I mark the parallel gateway as completed so that ProcessInstanceEndHandler&amp;nbsp; gets invoked and do the rest of the job.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Eagerly looking for the help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rishi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 31 May 2014 23:30:15 GMT</pubDate>
    <dc:creator>rishiraj_kalla</dc:creator>
    <dc:date>2014-05-31T23:30:15Z</dc:date>
    <item>
      <title>Process instances got stuck at the parallel gateway</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-instances-got-stuck-at-the-parallel-gateway/m-p/177097#M130227</link>
      <description>Hi,I am working on an application where BPM engine is developed using Activiti 5.13. There is one main process xml which conditionally invokes 4 different caller activities(sub processes) in parallel and all the 4 sub processes are routed to join using a parallel gateway. We noticed that there were</description>
      <pubDate>Thu, 29 May 2014 21:51:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-instances-got-stuck-at-the-parallel-gateway/m-p/177097#M130227</guid>
      <dc:creator>rishiraj_kalla</dc:creator>
      <dc:date>2014-05-29T21:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Process instances got stuck at the parallel gateway</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-instances-got-stuck-at-the-parallel-gateway/m-p/177098#M130228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Rishi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;jUnit test would help me a lot to reproduce this issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.activiti.org/content/sticky-how-write-unit-test" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/content/sticky-how-write-unit-test&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 06:56:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-instances-got-stuck-at-the-parallel-gateway/m-p/177098#M130228</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-05-30T06:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Process instances got stuck at the parallel gateway</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-instances-got-stuck-at-the-parallel-gateway/m-p/177099#M130229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Martin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your reply, I have created jUnit test and a sample process but wasn't able to reproduce this, I was just wondering if there is any way to mark such instances as complete as we have instances in production environment which needs to be marked as complete and they are stuck at the parallel gateway and does not have any end time for it. In the meantime I will continue to work on more scenarios to see if I can reproduce this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Appreciate your help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rishi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 12:58:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-instances-got-stuck-at-the-parallel-gateway/m-p/177099#M130229</guid>
      <dc:creator>rishiraj_kalla</dc:creator>
      <dc:date>2014-05-30T12:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Process instances got stuck at the parallel gateway</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-instances-got-stuck-at-the-parallel-gateway/m-p/177100#M130230</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;After further searching on forum I found the below link which very much resembles the situation where I am in.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.activiti.org/content/process-end-time-not-available-process-end-listener" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/content/process-end-time-not-available-process-end-listener&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have further explored and figured out that all the task of the main process as well as subprocesses triggered by the main process instance id are completed but the main or parent process instance does not have and end time, and action history for the same instance indicate that there is no end time for the parallel gateway which is the last step before completion of the instance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since we are using SpringProcessEngineConfiguration embedded in web server, I am not sure if there is any way to mark such instance completed again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could it be possible that the end time for the process instance is NULL because either ProcessInstanceEndHandler hasn't yet been invoked as the parallel gateway is not ended yet or it was invoked but the DB changes wasn't flushed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just wondering if the first condition above is true then how can I mark the parallel gateway as completed so that ProcessInstanceEndHandler&amp;nbsp; gets invoked and do the rest of the job.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Eagerly looking for the help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rishi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 May 2014 23:30:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-instances-got-stuck-at-the-parallel-gateway/m-p/177100#M130230</guid>
      <dc:creator>rishiraj_kalla</dc:creator>
      <dc:date>2014-05-31T23:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Process instances got stuck at the parallel gateway</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-instances-got-stuck-at-the-parallel-gateway/m-p/177101#M130231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Could you paste the content of the ACT_RU_EXECUTION for this process instance? That will learn us where everything is.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 09:54:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-instances-got-stuck-at-the-parallel-gateway/m-p/177101#M130231</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-06-02T09:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Process instances got stuck at the parallel gateway</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-instances-got-stuck-at-the-parallel-gateway/m-p/177102#M130232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your reply, I have attached the formatted text file having the content of ACT_RU_EXECUTION. I have also attached the content of ACT_HI_ACTINST if that helps further.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rishi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 17:56:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-instances-got-stuck-at-the-parallel-gateway/m-p/177102#M130232</guid>
      <dc:creator>rishiraj_kalla</dc:creator>
      <dc:date>2014-06-02T17:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Process instances got stuck at the parallel gateway</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-instances-got-stuck-at-the-parallel-gateway/m-p/177103#M130233</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;After further testing I have noticed that if there is any exception thrown by the global process execution listener (at process end event) this inconsistent state arrives, I might be wrong but it looked like the context get removed and the transactions done through it are rolled back causing execution in unstable mode,perhaps in such a condition like I am facing where it seems that instance is stuck up at gateway and since gateway activity cannot be signaled I could not figure out any way to resume this instance so that it gets back on track.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please suggest if there is any way here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With Thanks and Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rishi&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 04:43:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-instances-got-stuck-at-the-parallel-gateway/m-p/177103#M130233</guid>
      <dc:creator>rishiraj_kalla</dc:creator>
      <dc:date>2014-06-04T04:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Process instances got stuck at the parallel gateway</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-instances-got-stuck-at-the-parallel-gateway/m-p/177104#M130234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's really hard to follow with one long sentence…. could you try to make things a bit clearer?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 08:34:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-instances-got-stuck-at-the-parallel-gateway/m-p/177104#M130234</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-06-04T08:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Process instances got stuck at the parallel gateway</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-instances-got-stuck-at-the-parallel-gateway/m-p/177105#M130235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Joram,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Apologies for the long sentence, here is summary:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Process has an execution listener on the end event&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. The execution listener threw an exception which made the instance to roll back to parallel gateway&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. As per the ACT_HI_ACTINST and ACT_RU_EXECUTION the instance is waiting at parallel gateway&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am looking for any API in Activiti version 5.13 to make this instance move ahead.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With Thanks and Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rishi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 13:55:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-instances-got-stuck-at-the-parallel-gateway/m-p/177105#M130235</guid>
      <dc:creator>rishiraj_kalla</dc:creator>
      <dc:date>2014-06-04T13:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: Process instances got stuck at the parallel gateway</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-instances-got-stuck-at-the-parallel-gateway/m-p/177106#M130236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it possible to share the process bpmn? Could be something in the process design that is causing this. The transactional system in activiti is designed to work from one wait-state to another in a single transaction. If it rolls back to the parallel gateway, this means there is an async activity after the parallel gateway, forcing activiti to save execution state right here.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 09:00:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-instances-got-stuck-at-the-parallel-gateway/m-p/177106#M130236</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2014-06-05T09:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Process instances got stuck at the parallel gateway</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-instances-got-stuck-at-the-parallel-gateway/m-p/177107#M130237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Frederik,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your reply, due to organization policy I may not be able to share the entire bpmn process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am working on creating a test case which can reproduce the similar issue and will post the BPMN process xml for that soon.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However still I have a doubt that even due to process design if this issue has occurred, is there any way through API to resume such instances?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think this might be difficult to answer without process xml and test case, but any pointers towards that will be of great help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With Thanks and Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rishi &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2014 02:20:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-instances-got-stuck-at-the-parallel-gateway/m-p/177107#M130237</guid>
      <dc:creator>rishiraj_kalla</dc:creator>
      <dc:date>2014-06-06T02:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: Process instances got stuck at the parallel gateway</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-instances-got-stuck-at-the-parallel-gateway/m-p/177108#M130238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Rishi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This really depends on the process definition. Every incoming sequence flow of a parallel gateway must be completed before the parallel gateway will continue. So if you have a way to trigger any remaining sequence flow to complete this should be possible.&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 Jun 2014 10:51:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-instances-got-stuck-at-the-parallel-gateway/m-p/177108#M130238</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2014-06-06T10:51:32Z</dc:date>
    </item>
  </channel>
</rss>

