<?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: Inability to Completely Delete a Process Instance When... in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/inability-to-completely-delete-a-process-instance-when/m-p/173223#M126381</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Ryan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you mean that a job is retried 3 times and that it stays in failed state? So the process instance is not ended, but waiting for a manual retry of the job. Is this the issue you are running into?&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>Mon, 19 May 2014 20:22:43 GMT</pubDate>
    <dc:creator>trademak</dc:creator>
    <dc:date>2014-05-19T20:22:43Z</dc:date>
    <item>
      <title>Inability to Completely Delete a Process Instance When...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/inability-to-completely-delete-a-process-instance-when/m-p/173222#M126380</link>
      <description>…a Service Task that is executed via the Job Executor fails *and*&lt;IMG id="smileysad" class="emoticon emoticon-smileysad" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;1) There is an Error Boundary Event configured on the Service Task and(2) The failure is not a BpmnError instance with an "errorCode" that matches the one configured in the Error Boundary Event. (Obviously, if this occurs, the proces</description>
      <pubDate>Fri, 16 May 2014 22:31:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/inability-to-completely-delete-a-process-instance-when/m-p/173222#M126380</guid>
      <dc:creator>ryanj1</dc:creator>
      <dc:date>2014-05-16T22:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Inability to Completely Delete a Process Instance When...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/inability-to-completely-delete-a-process-instance-when/m-p/173223#M126381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Ryan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you mean that a job is retried 3 times and that it stays in failed state? So the process instance is not ended, but waiting for a manual retry of the job. Is this the issue you are running into?&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>Mon, 19 May 2014 20:22:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/inability-to-completely-delete-a-process-instance-when/m-p/173223#M126381</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2014-05-19T20:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Inability to Completely Delete a Process Instance When...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/inability-to-completely-delete-a-process-instance-when/m-p/173224#M126382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Correct. The difference is that the delete operation doesn't update the END_TIME_ field (in the ACT_HI_PROCINST table) for the process instance in the scenario described above, whereas that same delete operation *does* update the END_TIME_ field in all other observed scenarios. For clarity, note that "all other observed scenarios" includes scenarios where the associated job fails three times but there is no Error Boundary Event configured on the Java Service Task.&amp;nbsp; &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 13:58:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/inability-to-completely-delete-a-process-instance-when/m-p/173224#M126382</guid>
      <dc:creator>ryanj1</dc:creator>
      <dc:date>2014-05-27T13:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: Inability to Completely Delete a Process Instance When...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/inability-to-completely-delete-a-process-instance-when/m-p/173225#M126383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmm, looks like a subtle bug.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have a unit test that demonstrates this problem - then we can fix it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 08:52:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/inability-to-completely-delete-a-process-instance-when/m-p/173225#M126383</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-05-30T08:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Inability to Completely Delete a Process Instance When...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/inability-to-completely-delete-a-process-instance-when/m-p/173226#M126384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Joram,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry for the delay. I'm attaching four files; those are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(1) The JUnit test (DemoPartialDeletion.java)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(2) The BPMN (DemoPartialDeletion.bpmn)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(3) The (very simple) engine configuration (activiti-basicinmemwithje.xml)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(4) The Java class used to throw the BpmnError instance (ThrowBpmnError.java)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(To get around the Forum's upload limitations, I've appended "*.txt" to all four files.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This will demonstrate that deleting a process instance that meets the corner case criteria outlined earlier in this thread can't be fully deleted. Note that this does cause problems in Activiti Explorer as well, as the process instance is partially deleted, resulting in an inability to display the instance when selected on the "My Instances" page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have additional questions, please don't hesitate to let me know.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Ryan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2014 19:03:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/inability-to-completely-delete-a-process-instance-when/m-p/173226#M126384</guid>
      <dc:creator>ryanj1</dc:creator>
      <dc:date>2014-06-26T19:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Inability to Completely Delete a Process Instance When...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/inability-to-completely-delete-a-process-instance-when/m-p/173227#M126385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Ryan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks for this excellent unit test. Really high-quality and usefull.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Indeed, you hit an edge case bug. Even better, it's a bug introduced FOUR years ago.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It happens when you delete a process instance when the current activity is a scope. In your case, the service task is a scope due to the error boundary event.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It took us quite a bit of very deep debugging …. but we fixed it! See &lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/commit/95506994dc71d090aca67557bc017ad674436dd0" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/commit/95506994dc71d090aca67557bc017ad674436dd0&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks. This is open source power at work!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2014 18:57:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/inability-to-completely-delete-a-process-instance-when/m-p/173227#M126385</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-07-07T18:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: Inability to Completely Delete a Process Instance When...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/inability-to-completely-delete-a-process-instance-when/m-p/173228#M126386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You're very welcome. Yes, this is open source power at work, and I'm very happy to be a part of this open source project, both from a personal perspective and now as a team member at BP3.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 14:26:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/inability-to-completely-delete-a-process-instance-when/m-p/173228#M126386</guid>
      <dc:creator>ryanj1</dc:creator>
      <dc:date>2014-07-10T14:26:14Z</dc:date>
    </item>
  </channel>
</rss>

