<?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 Activiti + Spring + Transaction problem in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-spring-transaction-problem/m-p/173282#M126436</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi guys.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to test the integration of Spring and Activiti, then I stuck with confusing problem. I have a workflow with 2 service task (using jpa repository saveAndFlush method to update database)&amp;nbsp; A and B&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the service A, I actively throw a new Exception , then the transaction rollbacks, and the flow stops. Well, it's okay.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;b&amp;gt;However, how can I rollback the service A only&amp;nbsp; and the flow continue to service B? &amp;lt;/b&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Because if service A throws Exception, the flow will be stopped, and if Exception is caught ( then the flow continues), service A will not rollback. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I use JPA Repository to automatically handle transaction, so change to manual mode will take a lot of efforts now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Apr 2014 09:56:50 GMT</pubDate>
    <dc:creator>holysoul</dc:creator>
    <dc:date>2014-04-07T09:56:50Z</dc:date>
    <item>
      <title>Activiti + Spring + Transaction problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-spring-transaction-problem/m-p/173282#M126436</link>
      <description>Hi guys.I want to test the integration of Spring and Activiti, then I stuck with confusing problem. I have a workflow with 2 service task (using jpa repository saveAndFlush method to update database)&amp;nbsp; A and BIn the service A, I actively throw a new Exception , then the transaction rollbacks, and the</description>
      <pubDate>Mon, 07 Apr 2014 09:56:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-spring-transaction-problem/m-p/173282#M126436</guid>
      <dc:creator>holysoul</dc:creator>
      <dc:date>2014-04-07T09:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti + Spring + Transaction problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-spring-transaction-problem/m-p/173283#M126437</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;may be you can run service A asynchronously (by default 3x retry to run service task) and flow can continue to task B.&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, 08 Apr 2014 06:26:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-spring-transaction-problem/m-p/173283#M126437</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-04-08T06:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti + Spring + Transaction problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-spring-transaction-problem/m-p/173284#M126438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, martin, I will try this, in some case it might be useful . Besides that, I think about catch BpmnException only to catch by ErrorBoundEvent.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 08:38:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-spring-transaction-problem/m-p/173284#M126438</guid>
      <dc:creator>holysoul</dc:creator>
      <dc:date>2014-04-08T08:38:10Z</dc:date>
    </item>
  </channel>
</rss>

