<?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: CleanUp ACT_RU_* tables by hand in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/cleanup-act-ru-tables-by-hand/m-p/182457#M135587</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Chimera,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;is there still a SQL script to delete interrupted or failed process execution data that is no longer required?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;SQL script no. There is API in the RuntimeService.&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp; /**&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * Delete an existing runtime process instance.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * &lt;BR /&gt;&amp;nbsp;&amp;nbsp; * @param processInstanceId&lt;BR /&gt;&amp;nbsp;&amp;nbsp; *&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id of process instance to delete, cannot be null.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * @param deleteReason&lt;BR /&gt;&amp;nbsp;&amp;nbsp; *&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; reason for deleting, can be null.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * @throws ActivitiObjectNotFoundException&lt;BR /&gt;&amp;nbsp;&amp;nbsp; *&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; when no process instance is found with the given id.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; */&lt;BR /&gt;&amp;nbsp; void deleteProcessInstance(String processInstanceId, String deleteReason);&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Beer: yes sure next time when I'll be in Bern.&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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 May 2015 07:15:05 GMT</pubDate>
    <dc:creator>martin_grofcik</dc:creator>
    <dc:date>2015-05-14T07:15:05Z</dc:date>
    <item>
      <title>CleanUp ACT_RU_* tables by hand</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cleanup-act-ru-tables-by-hand/m-p/182452#M135582</link>
      <description>HiI overtook a project and upgraded to 5.16.4. I also noticed that the deleteProcessInstance method was never triggered by the previous developers at the end of a process. Thus the ACT_RU_* became fairly heavy.I added that single-liner to the code, which is good, but of course still have all the leg</description>
      <pubDate>Tue, 12 May 2015 05:19:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cleanup-act-ru-tables-by-hand/m-p/182452#M135582</guid>
      <dc:creator>chimera</dc:creator>
      <dc:date>2015-05-12T05:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: CleanUp ACT_RU_* tables by hand</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cleanup-act-ru-tables-by-hand/m-p/182453#M135583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would not delete anything from the runtime tables. There is no need to delete process instance by &lt;/SPAN&gt;&lt;CODE&gt;deleteProcessInstance{/code] method. Activiti stores runtime data in RU tables. When process is finished there is no record in the RU tables.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Martin&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 05:46:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cleanup-act-ru-tables-by-hand/m-p/182453#M135583</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2015-05-12T05:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: CleanUp ACT_RU_* tables by hand</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cleanup-act-ru-tables-by-hand/m-p/182454#M135584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok. So that is done automatically if the process ends. Making sense. Besides the programm/process logic treatment, is there still a SQL script to delete interrupted or failed process execution data that is no longer required? In particular for Integration or any testing environment that would be helpful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@Martin, I think we need to bump for a beer. You are working just around the corner from my working location &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>Tue, 12 May 2015 06:01:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cleanup-act-ru-tables-by-hand/m-p/182454#M135584</guid>
      <dc:creator>chimera</dc:creator>
      <dc:date>2015-05-12T06:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: CleanUp ACT_RU_* tables by hand</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cleanup-act-ru-tables-by-hand/m-p/182455#M135585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We don't have such a script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We do have a way to cleanup the whole database for our unit tests, but I don't know if that's what you are looking for.&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>Wed, 13 May 2015 12:24:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cleanup-act-ru-tables-by-hand/m-p/182455#M135585</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2015-05-13T12:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: CleanUp ACT_RU_* tables by hand</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cleanup-act-ru-tables-by-hand/m-p/182456#M135586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Presumably a subset of this cleanup is what we are looking for. Is that accessible on versioning system? Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 12:25:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cleanup-act-ru-tables-by-hand/m-p/182456#M135586</guid>
      <dc:creator>chimera</dc:creator>
      <dc:date>2015-05-13T12:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: CleanUp ACT_RU_* tables by hand</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cleanup-act-ru-tables-by-hand/m-p/182457#M135587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Chimera,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;is there still a SQL script to delete interrupted or failed process execution data that is no longer required?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;SQL script no. There is API in the RuntimeService.&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp; /**&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * Delete an existing runtime process instance.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * &lt;BR /&gt;&amp;nbsp;&amp;nbsp; * @param processInstanceId&lt;BR /&gt;&amp;nbsp;&amp;nbsp; *&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id of process instance to delete, cannot be null.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * @param deleteReason&lt;BR /&gt;&amp;nbsp;&amp;nbsp; *&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; reason for deleting, can be null.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * @throws ActivitiObjectNotFoundException&lt;BR /&gt;&amp;nbsp;&amp;nbsp; *&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; when no process instance is found with the given id.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; */&lt;BR /&gt;&amp;nbsp; void deleteProcessInstance(String processInstanceId, String deleteReason);&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Beer: yes sure next time when I'll be in Bern.&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 07:15:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cleanup-act-ru-tables-by-hand/m-p/182457#M135587</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2015-05-14T07:15:05Z</dc:date>
    </item>
  </channel>
</rss>

