<?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: Force Process to Persist in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/force-process-to-persist/m-p/136536#M95742</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here the code for "I tried the following:" from above:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;receiveTask id="persist" name="persist"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;boundaryEvent id="persistTimer" cancelActivity="true" attachedToRef="persist"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;timerEventDefinition&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;timeDuration&amp;gt;PT1S&amp;lt;/timeDuration&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/timerEventDefinition&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/boundaryEvent&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;sequenceFlow id="persistTimerToCommit" sourceRef="persistTimer" targetRef="commit"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Apr 2013 10:34:47 GMT</pubDate>
    <dc:creator>flavio_donze</dc:creator>
    <dc:date>2013-04-25T10:34:47Z</dc:date>
    <item>
      <title>Force Process to Persist</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/force-process-to-persist/m-p/136535#M95741</link>
      <description>HelloIs there a simple way or workaround to force a process to persist?As discused in http://forums.activiti.org/content/transaction-deadlock, I have a process which only consists of a few service tasks.The deadlock problem was solved as I changed the process to run asynchronous.I have one important</description>
      <pubDate>Thu, 25 Apr 2013 09:50:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/force-process-to-persist/m-p/136535#M95741</guid>
      <dc:creator>flavio_donze</dc:creator>
      <dc:date>2013-04-25T09:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Force Process to Persist</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/force-process-to-persist/m-p/136536#M95742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here the code for "I tried the following:" from above:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;receiveTask id="persist" name="persist"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;boundaryEvent id="persistTimer" cancelActivity="true" attachedToRef="persist"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;timerEventDefinition&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;timeDuration&amp;gt;PT1S&amp;lt;/timeDuration&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/timerEventDefinition&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/boundaryEvent&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;sequenceFlow id="persistTimerToCommit" sourceRef="persistTimer" targetRef="commit"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 10:34:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/force-process-to-persist/m-p/136536#M95742</guid>
      <dc:creator>flavio_donze</dc:creator>
      <dc:date>2013-04-25T10:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: Force Process to Persist</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/force-process-to-persist/m-p/136537#M95743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Flavio,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Activiti works in one database transaction when executing synchronously. So to force Activiti to persist the process state you would need to introduce an asynchronous element to it. So no workaround for this as this is one of the architectural foundations of the engine.&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>Mon, 29 Apr 2013 12:29:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/force-process-to-persist/m-p/136537#M95743</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-04-29T12:29:20Z</dc:date>
    </item>
  </channel>
</rss>

