<?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: Activiti controlling the transactions in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/activiti-controlling-the-transactions/m-p/15348#M6784</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you manage to get this working ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wondering if it is because you have a transaction that spans two databases. I had strange behaviour in V5.22 when I indirectly had this situation, accessing two Process Engines using different databases in Execution Listeners and Service Tasks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even though your task is async, I think you'll still have part of your transaction in the Activiti database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I seperated my code that worked with the external engine/database and explicitly ran it in a seperate thread, either waiting on a synchronised object, or allowing it run async as required - and then all was fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Might be worth a try to help understand what is going on at least.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Be interested to know if you've solved it another way, as may be relevant for my case as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Dec 2018 10:22:00 GMT</pubDate>
    <dc:creator>pault</dc:creator>
    <dc:date>2018-12-21T10:22:00Z</dc:date>
    <item>
      <title>Activiti controlling the transactions</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-controlling-the-transactions/m-p/15347#M6783</link>
      <description>Hi,I am using Activiti as our Business process orchestrator and I am running into an issue with transaction management. Here is the scenario:1. Using Activiti 6 with Spring Boot (2.1.0)2. Starting the process by&amp;nbsp;RunTimeService3. Using Service Task to perform business logic&amp;nbsp;(my service task class is</description>
      <pubDate>Wed, 12 Dec 2018 00:19:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-controlling-the-transactions/m-p/15347#M6783</guid>
      <dc:creator>gopi_chitturi</dc:creator>
      <dc:date>2018-12-12T00:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti controlling the transactions</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-controlling-the-transactions/m-p/15348#M6784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you manage to get this working ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wondering if it is because you have a transaction that spans two databases. I had strange behaviour in V5.22 when I indirectly had this situation, accessing two Process Engines using different databases in Execution Listeners and Service Tasks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even though your task is async, I think you'll still have part of your transaction in the Activiti database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I seperated my code that worked with the external engine/database and explicitly ran it in a seperate thread, either waiting on a synchronised object, or allowing it run async as required - and then all was fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Might be worth a try to help understand what is going on at least.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Be interested to know if you've solved it another way, as may be relevant for my case as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2018 10:22:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-controlling-the-transactions/m-p/15348#M6784</guid>
      <dc:creator>pault</dc:creator>
      <dc:date>2018-12-21T10:22:00Z</dc:date>
    </item>
  </channel>
</rss>

