<?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 Timeout firing after execution leaves sub-process? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/timeout-firing-after-execution-leaves-sub-process/m-p/24955#M10824</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Please see the attached diagram.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a workflow that uses a subprocess. &amp;nbsp;The subprocess waits for a set of series to arrive (labeled #1,&amp;nbsp;&lt;A _jive_internal="true" href="https://community.alfresco.com/thread/228258-how-to-handle-a-race-condition-signaling-an-execution" rel="nofollow noopener noreferrer"&gt;see the associated question&lt;/A&gt;), when everything is ready, the workflow should proceed to the plugin (a JavaDelegate, labeled #3). &amp;nbsp;But the plugin takes longer than the sub-process timeout (labeled #2) and the workflow exits (labeled #4) through the timeout branch, not the "plugin" branch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the "plugin" is async, all works well, but if not, the sub-process timeout fires and the workflow exits unexpectedly. &amp;nbsp;I would not have expected this behavior.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should Activiti detect that the execution has left the sub-process and cancel the timeout?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-dan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://connect.hyland.com/legacyfs/online/alfresco/14897_workflow.png" style="width: 620px; height: 300px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Jul 2017 16:55:30 GMT</pubDate>
    <dc:creator>blezek</dc:creator>
    <dc:date>2017-07-03T16:55:30Z</dc:date>
    <item>
      <title>Timeout firing after execution leaves sub-process?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/timeout-firing-after-execution-leaves-sub-process/m-p/24955#M10824</link>
      <description>Hi,&amp;nbsp; Please see the attached diagram.I have a workflow that uses a subprocess. &amp;nbsp;The subprocess waits for a set of series to arrive (labeled #1,&amp;nbsp;see the associated question), when everything is ready, the workflow should proceed to the plugin (a JavaDelegate, labeled #3). &amp;nbsp;But the plugin takes longer</description>
      <pubDate>Mon, 03 Jul 2017 16:55:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/timeout-firing-after-execution-leaves-sub-process/m-p/24955#M10824</guid>
      <dc:creator>blezek</dc:creator>
      <dc:date>2017-07-03T16:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: Timeout firing after execution leaves sub-process?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/timeout-firing-after-execution-leaves-sub-process/m-p/24956#M10825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why is it inconvenient if it is asynchronous?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is synchronous, since the transaction is not committed until Recieve task is arreived, the timer job cannot check that the subprocess has completed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2017 03:35:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/timeout-firing-after-execution-leaves-sub-process/m-p/24956#M10825</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-04T03:35:16Z</dc:date>
    </item>
  </channel>
</rss>

