<?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 deleting completed tasks in explorer in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/deleting-completed-tasks-in-explorer/m-p/246856#M199986</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;Is there any way to delete completed tasks in explorer which come up under "your completed tasks"?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Aug 2012 02:11:48 GMT</pubDate>
    <dc:creator>hayleyg</dc:creator>
    <dc:date>2012-08-14T02:11:48Z</dc:date>
    <item>
      <title>deleting completed tasks in explorer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deleting-completed-tasks-in-explorer/m-p/246856#M199986</link>
      <description>HiIs there any way to delete completed tasks in explorer which come up under "your completed tasks"?</description>
      <pubDate>Tue, 14 Aug 2012 02:11:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deleting-completed-tasks-in-explorer/m-p/246856#M199986</guid>
      <dc:creator>hayleyg</dc:creator>
      <dc:date>2012-08-14T02:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: deleting completed tasks in explorer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deleting-completed-tasks-in-explorer/m-p/246857#M199987</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;There is no direct way but you can add customization for it. You can customize complete task dashlet code , may be change the query to&amp;nbsp; display only last 10 days workflow .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Secondly&amp;nbsp; , you can&amp;nbsp; create sql query&amp;nbsp;&amp;nbsp; that can delete workflows from database directly. This query you have to customized as per latest instance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;delete from jbpm_log where variableinstance_ IN &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(SELECT id_ FROM jbpm_variableinstance a where a.taskinstance_ in (select b.id_ from jbpm_taskinstance b where b.actorid_='xyz'));&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;delete from jbpm_log where taskinstance_ IN (SELECT id_&amp;nbsp; FROM jbpm_taskinstance where actorid_='xyz');&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;delete from jbpm_variableinstance a where a.taskinstance_ in (select b.id_ from jbpm_taskinstance b where b.actorid_='xyz') &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;delete from jbpm_taskinstance b where b.actorid_='xyz'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 08:39:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deleting-completed-tasks-in-explorer/m-p/246857#M199987</guid>
      <dc:creator>amitabhandari1</dc:creator>
      <dc:date>2012-09-06T08:39:41Z</dc:date>
    </item>
  </channel>
</rss>

