<?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: error in share-completed tasks in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/error-in-share-completed-tasks/m-p/306286#M259416</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have exactly the same problem with the same version, did you find any solution?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Nov 2013 22:07:53 GMT</pubDate>
    <dc:creator>jzknitly</dc:creator>
    <dc:date>2013-11-06T22:07:53Z</dc:date>
    <item>
      <title>error in share-completed tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-in-share-completed-tasks/m-p/306285#M259415</link>
      <description>hi,i've been playing with Alfresco by deploying custom models and workflows. I get an error when I click More-&amp;gt;My Tasks-&amp;gt;Completed (other menus work just fine, including Workflows i've started -&amp;gt;completed).In logs I get the error:Failed to retrieve tasks assigned to authority {0} in state {</description>
      <pubDate>Tue, 07 May 2013 18:03:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-in-share-completed-tasks/m-p/306285#M259415</guid>
      <dc:creator>icm76</dc:creator>
      <dc:date>2013-05-07T18:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: error in share-completed tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-in-share-completed-tasks/m-p/306286#M259416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have exactly the same problem with the same version, did you find any solution?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 22:07:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-in-share-completed-tasks/m-p/306286#M259416</guid>
      <dc:creator>jzknitly</dc:creator>
      <dc:date>2013-11-06T22:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: error in share-completed tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-in-share-completed-tasks/m-p/306287#M259417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Seems like the historic task instances, associated with the workflows are not cascade-deleted when the workflow definition is deleted. It's generally a bad idea to delete a workflow-definition, just deploying a new version with the same 'key' is sufficient (the id-attribute in the bpmn20.xml file). User won't be able to start a workflow in the old version anyway, only the new version…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But even though it's not "recommended" to delete them, it should be possible and shouldn't cause any issues. By default, activiti doesn't cascade history (no explicit foreign-keys are put between history and runtime for performance and tracing reasons, so it's perfectly fine to have orphaned historic task instances in default Activiti). Can you report a bug in the JIRA for this? We need to fix this in alfresco, when a worklfow-definition is deleted, since the runtime is used to display history tasks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For now, as a workaround, you can try to remove the "offending" tasks in your database to have the "completed task" work again (Disclaimer: double check any delete-statement you execute, this is a workaround):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;delete from ACT_HI_TASKINST where not exists (select pd.ID_ from ACT_RE_PROCDEF pd where pd.ID_ = PROC_DEF_ID_);&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2013 07:08:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-in-share-completed-tasks/m-p/306287#M259417</guid>
      <dc:creator>frederikhereman</dc:creator>
      <dc:date>2013-11-08T07:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: error in share-completed tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-in-share-completed-tasks/m-p/306288#M259418</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;SPAN&gt;I caught this problem too.(4.2.f Community)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not good at working with databases.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you explain this requist to db more details for this example: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;rg.activiti.engine.ActivitiObjectNotFoundException: no deployed process definition found with id 'activitiInvitationModerated:1:23'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 13:41:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-in-share-completed-tasks/m-p/306288#M259418</guid>
      <dc:creator>сougar</dc:creator>
      <dc:date>2014-08-22T13:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: error in share-completed tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-in-share-completed-tasks/m-p/306289#M259419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Your workaround worked.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for sharing it&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 00:40:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-in-share-completed-tasks/m-p/306289#M259419</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2015-01-16T00:40:55Z</dc:date>
    </item>
  </channel>
</rss>

