<?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 instance resume not seeing the exection while in wait state in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/process-instance-resume-not-seeing-the-exection-while-in-wait/m-p/245854#M198984</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not sure if I'm following … the explanation above is very specific. but hard to follow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you happen to have a sample process definition (and unit test?) that clearly demonstrates this problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Between 5.15 and 5.19 there is more than one year, so a lot could have happened …&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Feb 2016 14:32:06 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2016-02-05T14:32:06Z</dc:date>
    <item>
      <title>Process instance resume not seeing the exection while in wait state</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-instance-resume-not-seeing-the-exection-while-in-wait/m-p/245851#M198981</link>
      <description>Hi,We have recently upgraded from Activiti (upgrade(5.15.1-&amp;gt;5.18.0.1)). The application uses activiti as an embedded engine via Spring configuration. We are still using job executor and not async executor that has been introduced in recent versions. We have observed an issue for one of the workfl</description>
      <pubDate>Thu, 04 Feb 2016 19:05:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-instance-resume-not-seeing-the-exection-while-in-wait/m-p/245851#M198981</guid>
      <dc:creator>badrisudheer</dc:creator>
      <dc:date>2016-02-04T19:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Process instance resume not seeing the exection while in wait state</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-instance-resume-not-seeing-the-exection-while-in-wait/m-p/245852#M198982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Sudheer,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you observe that you don't see any entries in the runtime tables when reaching a wait state, then there's a problem. Of course we still store the process instance state when reaching a wait state, because that's fundamental to the Activiti Engine. Can you share some information about the process definitions you are using, or event better share a unit test that shows this issue?&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, 04 Feb 2016 19:50:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-instance-resume-not-seeing-the-exection-while-in-wait/m-p/245852#M198982</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2016-02-04T19:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Process instance resume not seeing the exection while in wait state</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-instance-resume-not-seeing-the-exection-while-in-wait/m-p/245853#M198983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;HI Tijs, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am also leaning towards that there may be a problem with 5.19.0 version. We had to roll back our application to use 5.15.1 and It seems everything is back to normal and I do see the Runtime details now with 5.15.1 version in place. Essentially, we have an order level workflow which has callActivitity (multi) step that invokes another item level workflow for as many items come in the order request. The item level workflow has few sub processes in it's flow. Each sub process essentially submits a request to another enterprise service as part of a Service Task and goes into a Wait State with a Timer. As per our understanding, Activiti engine tries to execute a process instance with-in memory but, when a Wait state is reached with a Timer then, Activiti engine would persist the state into Activiti runtime tables (mainly, ACT_RU_EXECUTION with the ACT_ID_ details&amp;nbsp; and ACT_RU_JOB with a TYPE_ as timer). So, this table did not have any data when we used 5.19.0 and when we rolled back to 5.15.1, we do see the data. So, my thinking, as the data not there in these runtime tables when we were running on 5.19.0, the spring scheduler (this is something that we wrote to be able to signal using Runtime interface to resume the workflow if the enterprise service completes the request processing within the set Timeout duration on Timer) that tries to Query the process instance in-order to get to the Execution is unable to find the process instance. As I said, this has been working great on 5.15.1 but, not sure what needs to be done to make it work when we upgrade to 5.19.0. I have to see how to set up a unit test to reproduce this but, I hope that I explained what's going on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again for your help in this regard&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sudheer&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 00:48:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-instance-resume-not-seeing-the-exection-while-in-wait/m-p/245853#M198983</guid>
      <dc:creator>badrisudheer</dc:creator>
      <dc:date>2016-02-05T00:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Process instance resume not seeing the exection while in wait state</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-instance-resume-not-seeing-the-exection-while-in-wait/m-p/245854#M198984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not sure if I'm following … the explanation above is very specific. but hard to follow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you happen to have a sample process definition (and unit test?) that clearly demonstrates this problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Between 5.15 and 5.19 there is more than one year, so a lot could have happened …&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 14:32:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-instance-resume-not-seeing-the-exection-while-in-wait/m-p/245854#M198984</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-02-05T14:32:06Z</dc:date>
    </item>
  </channel>
</rss>

