<?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 Transaction Atomicity Issue in Activiti in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/transaction-atomicity-issue-in-activiti/m-p/220887#M174017</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Activiti Version : 5.17&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Transaction : XA Distributed Transaction&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Application ORM : Hibernate&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Work Flow Sequence : Service Task 1, Receive Task, Service Task 2, Boundary Timer Attached to the Process with Service Task 3 associated to it&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Use&amp;nbsp; Case : 1. Service Task 1 Executed Successfully and&amp;nbsp; persisted Process Instance Variable, Waiting for receive of Notification to execute Receive Task&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. Notification Received, Application Started its own transaction before invoking Workflow and&amp;nbsp; execution of Service Task 2 got&amp;nbsp;&amp;nbsp; failed with Application error. in Our Application Service Task we are catching issue. Hence Workflow Continued execution. However Finally Transaction Got Rolled Back, beccause Transaction object Set to Rollback.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3. After Time out Boundary timer kicked in and Service task 3 for boundary&amp;nbsp; timer failed to execute because of unable to get process instance variable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Issue :&amp;nbsp; There is a Atomicity issue with Transaction where Activiti cleaned up&amp;nbsp; ACT_RU_VARIABLE, ACT_GE_BYTE_ARRAY even though Process didn't complete. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Questions : &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1.&amp;nbsp; is Activiti using Seperate Tranction for Cleaning up ACT_RU_VARIABLE ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2.&amp;nbsp; Is this is a known issue, for which fix is already available in latest build of Activiti ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sakumar&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Dec 2015 07:57:14 GMT</pubDate>
    <dc:creator>sakumar1</dc:creator>
    <dc:date>2015-12-15T07:57:14Z</dc:date>
    <item>
      <title>Transaction Atomicity Issue in Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/transaction-atomicity-issue-in-activiti/m-p/220887#M174017</link>
      <description>Activiti Version : 5.17Transaction : XA Distributed TransactionApplication ORM : HibernateWork Flow Sequence : Service Task 1, Receive Task, Service Task 2, Boundary Timer Attached to the Process with Service Task 3 associated to itUse&amp;nbsp; Case : 1. Service Task 1 Executed Successfully and&amp;nbsp; persisted P</description>
      <pubDate>Tue, 15 Dec 2015 07:57:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/transaction-atomicity-issue-in-activiti/m-p/220887#M174017</guid>
      <dc:creator>sakumar1</dc:creator>
      <dc:date>2015-12-15T07:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction Atomicity Issue in Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/transaction-atomicity-issue-in-activiti/m-p/220888#M174018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Sakumar,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When and why is transaction object set to rollback? In that case exception is not caught from the activiti transaction manager point of view.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You should catch it earlier.&lt;/SPAN&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>Tue, 15 Dec 2015 12:49:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/transaction-atomicity-issue-in-activiti/m-p/220888#M174018</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2015-12-15T12:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction Atomicity Issue in Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/transaction-atomicity-issue-in-activiti/m-p/220889#M174019</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;We have set rollback for run time exception in our code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But we need to see here why Activiti using seperate transaction for Cleaning up&amp;nbsp; ACT_RU_VARIABLE, ACT_GE_BYTE_ARRAY.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is resulting in partial rollback for Activiti Tables in case of Exception.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sakumar&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 13:36:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/transaction-atomicity-issue-in-activiti/m-p/220889#M174019</guid>
      <dc:creator>sakumar1</dc:creator>
      <dc:date>2015-12-15T13:36:52Z</dc:date>
    </item>
  </channel>
</rss>

