<?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: recieveTask with boundaryEvent that expires after defined time does not finish execution with cancelActivity = true in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/recievetask-with-boundaryevent-that-expires-after-defined-time/m-p/156964#M111177</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It waits for only 1 second now, which is not a good value to test with. Did you try to use PT10S as well? It should definitely close the execution of the receive task. If it doesn't can you create a unit test showing the 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>Fri, 09 Aug 2013 13:13:47 GMT</pubDate>
    <dc:creator>trademak</dc:creator>
    <dc:date>2013-08-09T13:13:47Z</dc:date>
    <item>
      <title>recieveTask with boundaryEvent that expires after defined time does not finish execution with cancelActivity = true</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/recievetask-with-boundaryevent-that-expires-after-defined-time/m-p/156963#M111176</link>
      <description>I am using a recieveTask with boundaryEvent that has a timerEventDefinition of 10 seconds.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;receiveTask id="waitForDispatchUpdate"/&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;boundaryEvent attachedToRef="waitForDispatchUpdate" cancelActivity="true"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;id="setDefaultIfNoDispatchUpdate"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;timerEventDefin</description>
      <pubDate>Thu, 08 Aug 2013 12:31:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/recievetask-with-boundaryevent-that-expires-after-defined-time/m-p/156963#M111176</guid>
      <dc:creator>aman1</dc:creator>
      <dc:date>2013-08-08T12:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: recieveTask with boundaryEvent that expires after defined time does not finish execution with cancelActivity = true</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/recievetask-with-boundaryevent-that-expires-after-defined-time/m-p/156964#M111177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It waits for only 1 second now, which is not a good value to test with. Did you try to use PT10S as well? It should definitely close the execution of the receive task. If it doesn't can you create a unit test showing the 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>Fri, 09 Aug 2013 13:13:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/recievetask-with-boundaryevent-that-expires-after-defined-time/m-p/156964#M111177</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-08-09T13:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: recieveTask with boundaryEvent that expires after defined time does not finish execution with cancelActivity = true</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/recievetask-with-boundaryevent-that-expires-after-defined-time/m-p/156965#M111178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As long as the java-task is executing, the transaction is not committed yet and the process (from a DB point of view) is still in it's previous state. External calls to the API will use their own transaction, not aware of the process running. The transaction that commits first, is the winner. The other one will get an optimistic lock exception, rolling back all changes done in that transaction.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 13:48:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/recievetask-with-boundaryevent-that-expires-after-defined-time/m-p/156965#M111178</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-08-12T13:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: recieveTask with boundaryEvent that expires after defined time does not finish execution with cancelActivity = true</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/recievetask-with-boundaryevent-that-expires-after-defined-time/m-p/156966#M111179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes in the BPMN i have a timer of 20 seconds only. I was trying with 1 sec because i wanted the timer to expire soon and proceed with the negative flow. So that when the late response from JMS comes back thru the runtimeService.signalRecieve(activitiId) , it fails as the execution for this activiti id is returned null. But it doesn't returns null. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;See the bpmn attached.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;One more point to be noticed. when the timer expires , i have a series of tasks to execute say- timer expires -&amp;gt; script to set colour pink -&amp;gt; colour ticket to pink -&amp;gt; log end -&amp;gt; end.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Suppose my java task that colors ticket to pink takes time and while we are in this step .. at this very instant if i try to signal back the workflow , should the execution returned is null or should it still be there as the workflow hasn't ended still. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 17:35:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/recievetask-with-boundaryevent-that-expires-after-defined-time/m-p/156966#M111179</guid>
      <dc:creator>aman1</dc:creator>
      <dc:date>2013-08-12T17:35:28Z</dc:date>
    </item>
  </channel>
</rss>

