<?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: Deleting process instances in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/deleting-process-instances/m-p/131397#M92322</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, you are ok. I could not have the deleate reason in the current execution but yes in its parent. I will check that there is not deleate reason before to do nothing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much again&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Apr 2013 08:02:01 GMT</pubDate>
    <dc:creator>rodiaz</dc:creator>
    <dc:date>2013-04-24T08:02:01Z</dc:date>
    <item>
      <title>Deleting process instances</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deleting-process-instances/m-p/131390#M92315</link>
      <description>Hi there, when I try to delete process instances through runtimeService I get the error Error parsing XML. The process instance failed serializating the variable instances, so when activiti try to deploy it for removing, it fails again…Is there any way to delete this kind of processes?? Thanks in ad</description>
      <pubDate>Mon, 22 Apr 2013 08:57:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deleting-process-instances/m-p/131390#M92315</guid>
      <dc:creator>rodiaz</dc:creator>
      <dc:date>2013-04-22T08:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting process instances</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deleting-process-instances/m-p/131391#M92316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;when I try to delete process instances through runtimeService I get the error Error parsing XML. The process instance failed serializating the variable instances, so when activiti try to deploy it for removing, it fails again…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any way to delete this kind of processes??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advanced&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2013 08:59:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deleting-process-instances/m-p/131391#M92316</guid>
      <dc:creator>rodiaz</dc:creator>
      <dc:date>2013-04-22T08:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting process instances</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deleting-process-instances/m-p/131392#M92317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you paste your whole stacktrace? How did you add the variable instance n the first place without having the serialization exception?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2013 10:10:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deleting-process-instances/m-p/131392#M92317</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-04-22T10:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting process instances</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deleting-process-instances/m-p/131393#M92318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Updating to the version 5.12.1 some of my problems are resolved. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I don't get Error parsing XML but is still imposible to delete some process instances. For example I have processes that failled because some exception in my own ExecutionListener like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;org.activiti.engine.ActivitiException at com.ptb.clerk.core.bpm.activiti.bpm.delegate.CommandExecutorService.execute(CommandExecutorService.java:122) at org.activiti.engine.impl.delegate.JavaDelegateInvocation.invoke(JavaDelegateInvocation.java:34) at org.activiti.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:37) at org.activiti.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:25) at org.activiti.engine.impl.bpmn.behavior.ServiceTaskJavaDelegateActivityBehavior.execute(ServiceTaskJavaDelegateActivityBehavior.java:49) at org.activiti.engine.impl.bpmn.behavior.ServiceTaskJavaDelegateActivityBehavior.execute(ServiceTaskJavaDelegateActivityBehavior.java:40) at org.activiti.engine.impl.bpmn.helper.ClassDelegate.execute(ClassDelegate.java:115) at org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute.execute(AtomicOperationActivityExecute.java:44) at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:85) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:535) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:530) at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerStart.eventNotificationsCompleted(AtomicOperationTransitionNotifyListenerStart.java:52) at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:56) at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:85) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:535) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:530) at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:49) at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:85) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:535) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:530) at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionCreateScope.execute(AtomicOperationTransitionCreateScope.java:49) at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:85) at org.activiti.engine.impl.jobexecutor.AsyncContinuationJobHandler.execute(AsyncContinuationJobHandler.java:36) at org.activiti.engine.impl.persistence.entity.JobEntity.execute(JobEntity.java:80) at org.activiti.engine.impl.persistence.entity.MessageEntity.execute(MessageEntity.java:29) at org.activiti.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:68) at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24) at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:60) at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:32) at org.activiti.engine.impl.jobexecutor.ExecuteJobsRunnable.run(ExecuteJobsRunnable.java:46) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) Caused by: javax.ws.rs.InternalServerErrorException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at org.apache.cxf.jaxrs.client.AbstractClient.convertToWebApplicationException(AbstractClient.java:426) at org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(ClientProxyImpl.java:290) at org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:585) at org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:551) at org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:205) at $Proxy52.report(Unknown Source) at com.ptb.clerk.core.bpm.activiti.bpm.command.report.PrintTemplate.executeCommand(PrintTemplate.java:67) at com.ptb.clerk.core.bpm.activiti.bpm.command.UpdaterAbstractCommand.execute(UpdaterAbstractCommand.java:55) at com.ptb.clerk.core.bpm.activiti.bpm.delegate.CommandExecutorService.execute(&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Throws a exception bacause get an error invoking a rest service form my own Execution Listener. So is there a way to delete this process instances??because when I try it, fails in the same point every time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2013 11:56:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deleting-process-instances/m-p/131393#M92318</guid>
      <dc:creator>rodiaz</dc:creator>
      <dc:date>2013-04-22T11:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting process instances</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deleting-process-instances/m-p/131394#M92319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When you delete a process explicitly, the end-execution-listeners of the process are called (with possibly a deleteReason filled in, so the process can do some cleanup in case it didn't end gracefully). This cannot be disabled. Just a hunch, but I'm not sure the "delete" of a deployment with cascade=true can help you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way you can make the execution-listener succeed without deleting the process? Last resort is editing the XML in the database (in ACT_GE_BYTEARRAY) that corresponds to this process-definition and remove the listener XML-element. This should be done while the engine is turned off.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 06:46:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deleting-process-instances/m-p/131394#M92319</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-04-23T06:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting process instances</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deleting-process-instances/m-p/131395#M92320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tried delete of a deployment with cascade= true but throws the same exception. Is there a way to know in the ExecutionListener that come from deleting a process? I can see a property deleteReason in the ExecutionEntity but itś null although I filled it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 07:55:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deleting-process-instances/m-p/131395#M92320</guid>
      <dc:creator>rodiaz</dc:creator>
      <dc:date>2013-04-23T07:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting process instances</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deleting-process-instances/m-p/131396#M92321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The delete-reason should be non-null when provided when deleting a process-instance. on ExecutionEntity:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt; public void deleteCascade(String deleteReason) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.deleteReason = deleteReason;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.deleteRoot = true;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; performOperation(AtomicOperation.DELETE_CASCADE);&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;The delete-reason is also exposed on the ExecutionListenerExecution (which ExecutionEntity implements). What call do you do when you say the deleteReason is not propagated?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 07:47:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deleting-process-instances/m-p/131396#M92321</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-04-24T07:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting process instances</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deleting-process-instances/m-p/131397#M92322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, you are ok. I could not have the deleate reason in the current execution but yes in its parent. I will check that there is not deleate reason before to do nothing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much again&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 08:02:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deleting-process-instances/m-p/131397#M92322</guid>
      <dc:creator>rodiaz</dc:creator>
      <dc:date>2013-04-24T08:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting process instances</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deleting-process-instances/m-p/131398#M92323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've similar problem:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- I've my own functions library&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- I've changed method signature for one function&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Now, whenever I try to delete or change a process, I get a parse XML error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I delete a process instance that is invalid and will always be?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edson.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Oct 2016 18:29:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deleting-process-instances/m-p/131398#M92323</guid>
      <dc:creator>edsonrichter</dc:creator>
      <dc:date>2016-10-15T18:29:48Z</dc:date>
    </item>
  </channel>
</rss>

