<?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 Short-lived persistence in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/short-lived-persistence/m-p/30686#M15764</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to use activiti for short-lived workflow, similar to the way the HTTP session works in a web app, so I don't really need the persistence.&amp;nbsp; I had the thought that I could use an in-memory database and clear it out at end of the process (perhaps as a listener on end end event), but is there a way to do this already?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Antony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Jan 2011 15:57:46 GMT</pubDate>
    <dc:creator>antonylees</dc:creator>
    <dc:date>2011-01-25T15:57:46Z</dc:date>
    <item>
      <title>Short-lived persistence</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/short-lived-persistence/m-p/30686#M15764</link>
      <description>Hi allI want to use activiti for short-lived workflow, similar to the way the HTTP session works in a web app, so I don't really need the persistence.&amp;nbsp; I had the thought that I could use an in-memory database and clear it out at end of the process (perhaps as a listener on end end event), but is the</description>
      <pubDate>Tue, 25 Jan 2011 15:57:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/short-lived-persistence/m-p/30686#M15764</guid>
      <dc:creator>antonylees</dc:creator>
      <dc:date>2011-01-25T15:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Short-lived persistence</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/short-lived-persistence/m-p/30687#M15765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This forum has a search option that probably would provide a result. But there is one &lt;/SPAN&gt;&lt;A href="http://lmgtfy.com/?q=activiti+memory+database" rel="nofollow noopener noreferrer"&gt;http://lmgtfy.com/?q=activiti+memory+database&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jan 2011 22:33:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/short-lived-persistence/m-p/30687#M15765</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-01-25T22:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Short-lived persistence</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/short-lived-persistence/m-p/30688#M15766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yeah, that's really helpful thanks&amp;nbsp; :? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a quesation about using an in-memory database, but that isn't my question.&amp;nbsp; My question is about not persisting the data - an in-memory database will still keep the data in-memory.&amp;nbsp; I don't want to do that, I only want the data to live for the life of the process.&amp;nbsp; I could write a listener to listen for end tasks and clear the data out myself using JDBC.&amp;nbsp; But does activiti provide this functionality already?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did try searching first and didn't find the answer.&amp;nbsp; If anyone has any actually helpful answers, please let me know&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 09:17:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/short-lived-persistence/m-p/30688#M15766</guid>
      <dc:creator>antonylees</dc:creator>
      <dc:date>2011-01-26T09:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: Short-lived persistence</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/short-lived-persistence/m-p/30689#M15767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry, I did not know you knew that an in-memory db was an option. I misread your question (I'm not a native English speaker)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is currently not another option to achieve this. Then you'd be rewriting the persistence layer to exchange the in-memory db with an in-memory object list/map/… since the flow needs state. I think the work that needs to be put in there does not outweigh the slight advantage in performance. So using an in-memory db would be my suggestion.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 09:46:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/short-lived-persistence/m-p/30689#M15767</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-01-26T09:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: Short-lived persistence</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/short-lived-persistence/m-p/30690#M15768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmmm, ok, shame.&amp;nbsp; It looks like Drools Flow has this option but I do really like Activiti and, as the JVM might be running for a long time, I don't really want to create an ever expanding database/file&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll have a&amp;nbsp; look into the listener option - it seems like a fairly simple option&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 10:03:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/short-lived-persistence/m-p/30690#M15768</guid>
      <dc:creator>antonylees</dc:creator>
      <dc:date>2011-01-26T10:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Short-lived persistence</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/short-lived-persistence/m-p/30691#M15769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Actually, re-reading your reply, I think you misunderstood me again&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using an in-memory database is fine, though the option not to (as with Drools Flow) would be nice.&amp;nbsp; What I want is to not store the process data after it has ended&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 10:27:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/short-lived-persistence/m-p/30691#M15769</guid>
      <dc:creator>antonylees</dc:creator>
      <dc:date>2011-01-26T10:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: Short-lived persistence</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/short-lived-persistence/m-p/30692#M15770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Take a look at this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.activiti.org/userguide/index.html#historyConfiguration" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/userguide/index.html#historyConfiguration&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;'none' will do exactely what you want.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 12:26:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/short-lived-persistence/m-p/30692#M15770</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-01-26T12:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Short-lived persistence</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/short-lived-persistence/m-p/30693#M15771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;if I understood you correctly this time &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 12:27:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/short-lived-persistence/m-p/30693#M15771</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-01-26T12:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Short-lived persistence</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/short-lived-persistence/m-p/30694#M15772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just tried it and yes, that is exactly what I want&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I hadn't realised is that the current execution ID is removed from the runtime tables and moved to the history tables when the process ends.&amp;nbsp; Ideal&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 12:36:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/short-lived-persistence/m-p/30694#M15772</guid>
      <dc:creator>antonylees</dc:creator>
      <dc:date>2011-01-26T12:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Short-lived persistence</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/short-lived-persistence/m-p/30695#M15773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;it's not even a move as far as I know. The history table is always 'up to date' with th runtime tables (if history is enabled)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 13:58:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/short-lived-persistence/m-p/30695#M15773</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-01-26T13:58:22Z</dc:date>
    </item>
  </channel>
</rss>

