<?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 Can I end or cancel a ProcessInstance while running? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/can-i-end-or-cancel-a-processinstance-while-running/m-p/78459#M52058</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can I end or cancel a ProcessInstance while running?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In my system, I need to end or cancel a processInstance whenever a task returned error. But it's so ugly a workflow if I connect every task to the errorEnd node.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I do it ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Aug 2011 04:25:17 GMT</pubDate>
    <dc:creator>iammjj</dc:creator>
    <dc:date>2011-08-08T04:25:17Z</dc:date>
    <item>
      <title>Can I end or cancel a ProcessInstance while running?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-i-end-or-cancel-a-processinstance-while-running/m-p/78459#M52058</link>
      <description>Can I end or cancel a ProcessInstance while running?In my system, I need to end or cancel a processInstance whenever a task returned error. But it's so ugly a workflow if I connect every task to the errorEnd node.How can I do it ?Thanks</description>
      <pubDate>Mon, 08 Aug 2011 04:25:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-i-end-or-cancel-a-processinstance-while-running/m-p/78459#M52058</guid>
      <dc:creator>iammjj</dc:creator>
      <dc:date>2011-08-08T04:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Can I end or cancel a ProcessInstance while running?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-i-end-or-cancel-a-processinstance-while-running/m-p/78460#M52059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can use the RuntimeService to end a workflow, using deleteProcessInstance, where you can provide a reason. The process will end, and if you wish, you can add an execution-listener (to process end) to cleanup some resources for example, after the process ended. In the listener you can inspect the deleteReason, so you can act accordingly.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 07:25:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-i-end-or-cancel-a-processinstance-while-running/m-p/78460#M52059</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-08-09T07:25:00Z</dc:date>
    </item>
  </channel>
</rss>

