<?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: Flushing activiti DB updates on Demand in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/flushing-activiti-db-updates-on-demand/m-p/161948#M115854</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jorell,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is there a way for force activiti to flush its cache after a operation like starting a new process?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Try to use async executions. &lt;/SPAN&gt;&lt;A href="http://www.activiti.org/userguide/#asyncContinuations" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/userguide/#asyncContinuations&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;immediately complete the first task (from outside the delegate) the execution for that process hasn;t yet been persisted to the DB. I am unable to fetch the execution by id.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Would it be possible to create jUnit test?&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;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Feb 2014 07:17:29 GMT</pubDate>
    <dc:creator>martin_grofcik</dc:creator>
    <dc:date>2014-02-20T07:17:29Z</dc:date>
    <item>
      <title>Flushing activiti DB updates on Demand</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/flushing-activiti-db-updates-on-demand/m-p/161947#M115853</link>
      <description>I am facing a case where it seems that when I start process and immediately complete the first task (from outside the delegate) the execution for that process hasn;t yet been persisted to the DB. I am unable to fetch the execution by id. My first service task is a delegate which does some work and t</description>
      <pubDate>Thu, 20 Feb 2014 03:27:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/flushing-activiti-db-updates-on-demand/m-p/161947#M115853</guid>
      <dc:creator>jorell</dc:creator>
      <dc:date>2014-02-20T03:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Flushing activiti DB updates on Demand</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/flushing-activiti-db-updates-on-demand/m-p/161948#M115854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jorell,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is there a way for force activiti to flush its cache after a operation like starting a new process?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Try to use async executions. &lt;/SPAN&gt;&lt;A href="http://www.activiti.org/userguide/#asyncContinuations" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/userguide/#asyncContinuations&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;immediately complete the first task (from outside the delegate) the execution for that process hasn;t yet been persisted to the DB. I am unable to fetch the execution by id.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Would it be possible to create jUnit test?&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;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 07:17:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/flushing-activiti-db-updates-on-demand/m-p/161948#M115854</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-02-20T07:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Flushing activiti DB updates on Demand</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/flushing-activiti-db-updates-on-demand/m-p/161949#M115855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, I just faced the same problem. The first step in my process is a java service which invoked a method via an EL expression. Any attempt to set a variable in that method fails because the process cannot be found. The async suggestion doesnt work for me as I want to immediatly return from the process create knowing where the flow has got to.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a work around by putting a Receive Task immediatly after creation and signalling it straight after returning from the startProcessInstanceByKey call. This seems to ensure that the execution is written to the DB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any way of avoiding this extra step?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 18:01:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/flushing-activiti-db-updates-on-demand/m-p/161949#M115855</guid>
      <dc:creator>jwood</dc:creator>
      <dc:date>2014-02-21T18:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: Flushing activiti DB updates on Demand</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/flushing-activiti-db-updates-on-demand/m-p/161950#M115856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Another solution could be to put a little queue thing in front of that logic, that keeps the message until the process has reached a persistent state.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 09:22:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/flushing-activiti-db-updates-on-demand/m-p/161950#M115856</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-02-25T09:22:02Z</dc:date>
    </item>
  </channel>
</rss>

