<?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: How to delete a process instance for a invalid XML? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-delete-a-process-instance-for-a-invalid-xml/m-p/240363#M193493</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I forgot to mention: delete using API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nevertheless, I've looked the code, and it will fail with activity-explorer as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Seems that I can't delete a process instance with invalid XML because as part of the delete call, it will try to notify the tasks of the deletion - and this is causing the problem. Since XML is invalid, system can't load the XML to know which tasks need to notify.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I think the solution is to delete from database - probably using the Persistence API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is that the only option?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Edson&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Oct 2016 15:24:54 GMT</pubDate>
    <dc:creator>edsonrichter</dc:creator>
    <dc:date>2016-10-18T15:24:54Z</dc:date>
    <item>
      <title>How to delete a process instance for a invalid XML?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-delete-a-process-instance-for-a-invalid-xml/m-p/240361#M193491</link>
      <description>I'm currently facing the following issue:1) My old deployment uses a (now) invalid method signature2) Whenever I try to delete de old active instances, I get the following stack trace&lt;IMG id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;rg.activiti.engine.impl.javax.el.ELException: Parameters for function 'mylib:myfunc' do not matchorg.activiti.engin</description>
      <pubDate>Sat, 15 Oct 2016 17:38:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-delete-a-process-instance-for-a-invalid-xml/m-p/240361#M193491</guid>
      <dc:creator>edsonrichter</dc:creator>
      <dc:date>2016-10-15T17:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete a process instance for a invalid XML?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-delete-a-process-instance-for-a-invalid-xml/m-p/240362#M193492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Login in activiti-explorer with your admin user. Goto "process" tab. There is a tab named "My Instances". There is a list of all active process instances. Click on particular process instance which you want to delete. In right hand side, you find "Delete" button. From here you can delete your process instance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 09:37:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-delete-a-process-instance-for-a-invalid-xml/m-p/240362#M193492</guid>
      <dc:creator>seema</dc:creator>
      <dc:date>2016-10-18T09:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete a process instance for a invalid XML?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-delete-a-process-instance-for-a-invalid-xml/m-p/240363#M193493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I forgot to mention: delete using API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nevertheless, I've looked the code, and it will fail with activity-explorer as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Seems that I can't delete a process instance with invalid XML because as part of the delete call, it will try to notify the tasks of the deletion - and this is causing the problem. Since XML is invalid, system can't load the XML to know which tasks need to notify.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I think the solution is to delete from database - probably using the Persistence API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is that the only option?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Edson&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 15:24:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-delete-a-process-instance-for-a-invalid-xml/m-p/240363#M193493</guid>
      <dc:creator>edsonrichter</dc:creator>
      <dc:date>2016-10-18T15:24:54Z</dc:date>
    </item>
  </channel>
</rss>

