<?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 and JTA transactions in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jta-transactions/m-p/212652#M165782</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Some more info:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;With this code my problem is solved.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;// Persist the workflow (In this step I merge our workflow instance)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;workflow = jpa.merge(workflow); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;// Start process(In this step I start the process in activiti and store the processInstanceId of the activiti process in my data)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;processHandler.startWorkflow(workflow);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;// Store the workflow again(with processInstanceId of activiti)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;workflow= jpa.merge(workflow);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I´m not sure if this is a proper way. With this approach my stored workfow instance is seen within the activiti process (but it is not committed yet).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Jul 2016 07:09:47 GMT</pubDate>
    <dc:creator>gizmo1177</dc:creator>
    <dc:date>2016-07-01T07:09:47Z</dc:date>
    <item>
      <title>Activiti and JTA transactions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jta-transactions/m-p/212651#M165781</link>
      <description>I have a question regard transactions and the activiti workflow. Here is the description of my problem:We get a request from a external system. Within the request processor we start a new transaction, create our entities AND Start deployed activiti processes. My problem is that the processes starts</description>
      <pubDate>Fri, 01 Jul 2016 06:57:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jta-transactions/m-p/212651#M165781</guid>
      <dc:creator>gizmo1177</dc:creator>
      <dc:date>2016-07-01T06:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti and JTA transactions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jta-transactions/m-p/212652#M165782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Some more info:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;With this code my problem is solved.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;// Persist the workflow (In this step I merge our workflow instance)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;workflow = jpa.merge(workflow); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;// Start process(In this step I start the process in activiti and store the processInstanceId of the activiti process in my data)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;processHandler.startWorkflow(workflow);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;// Store the workflow again(with processInstanceId of activiti)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;workflow= jpa.merge(workflow);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I´m not sure if this is a proper way. With this approach my stored workfow instance is seen within the activiti process (but it is not committed yet).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jul 2016 07:09:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jta-transactions/m-p/212652#M165782</guid>
      <dc:creator>gizmo1177</dc:creator>
      <dc:date>2016-07-01T07:09:47Z</dc:date>
    </item>
  </channel>
</rss>

