<?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: Difference between delete process with single task and delete that task in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/difference-between-delete-process-with-single-task-and-delete/m-p/238555#M191685</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Anindya,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The difference is that &lt;/SPAN&gt;&lt;CODE&gt;taskService.deleteTask(taskId);&lt;/CODE&gt;&lt;SPAN&gt; tries to delete the task from the active process. when it would succeed parent process instance is not able to continue -&amp;gt; inconsistent state, that's why exception is thrown.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Apr 2016 08:14:23 GMT</pubDate>
    <dc:creator>martin_grofcik</dc:creator>
    <dc:date>2016-04-04T08:14:23Z</dc:date>
    <item>
      <title>Difference between delete process with single task and delete that task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/difference-between-delete-process-with-single-task-and-delete/m-p/238554#M191684</link>
      <description>I have a process with a single task.For some reason I want to delete the task/process.What will be the preferred way?If I delete the process with :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; runtimeService.deleteProcessInstance(processInstanceId, deleteReson) ;the deletion</description>
      <pubDate>Fri, 01 Apr 2016 07:04:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/difference-between-delete-process-with-single-task-and-delete/m-p/238554#M191684</guid>
      <dc:creator>anindya</dc:creator>
      <dc:date>2016-04-01T07:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between delete process with single task and delete that task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/difference-between-delete-process-with-single-task-and-delete/m-p/238555#M191685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Anindya,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The difference is that &lt;/SPAN&gt;&lt;CODE&gt;taskService.deleteTask(taskId);&lt;/CODE&gt;&lt;SPAN&gt; tries to delete the task from the active process. when it would succeed parent process instance is not able to continue -&amp;gt; inconsistent state, that's why exception is thrown.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 08:14:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/difference-between-delete-process-with-single-task-and-delete/m-p/238555#M191685</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-04-04T08:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between delete process with single task and delete that task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/difference-between-delete-process-with-single-task-and-delete/m-p/238556#M191686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Martin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, where can we use&amp;nbsp; taskService.deleteTask(taskId) ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 11:25:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/difference-between-delete-process-with-single-task-and-delete/m-p/238556#M191686</guid>
      <dc:creator>anindya</dc:creator>
      <dc:date>2016-04-04T11:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between delete process with single task and delete that task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/difference-between-delete-process-with-single-task-and-delete/m-p/238557#M191687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For standalone tasks that are not attached to a process instance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 14:39:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/difference-between-delete-process-with-single-task-and-delete/m-p/238557#M191687</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-04-04T14:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between delete process with single task and delete that task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/difference-between-delete-process-with-single-task-and-delete/m-p/238558#M191688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What if you have multiple task instances in one running process (splitting with parallel gateway for example) and you wan't to delete one?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2017 11:13:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/difference-between-delete-process-with-single-task-and-delete/m-p/238558#M191688</guid>
      <dc:creator>pero</dc:creator>
      <dc:date>2017-01-25T11:13:13Z</dc:date>
    </item>
  </channel>
</rss>

