<?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: Task deletion semantics in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/task-deletion-semantics/m-p/78685#M52247</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok - but how does task deletion differ from task completion (other than the fact that you can modify workflow variables on completion)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Presumably, both allow workflow to continue, as otherwise you could end up with a stuck process when you deleted a task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I see that table ACT_HI_TASKINST has a DELETE_REASON_ column, which has values 'deleted' and 'completed' in my database, but other than that and adding workflow variables, is there any difference between task completion and deletion?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for any additional clarification.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;bwd&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Nov 2011 16:17:00 GMT</pubDate>
    <dc:creator>bwd</dc:creator>
    <dc:date>2011-11-04T16:17:00Z</dc:date>
    <item>
      <title>Task deletion semantics</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/task-deletion-semantics/m-p/78683#M52245</link>
      <description>Hi,Can someone describe the effects of calling TaskService.deleteTask() wrt process execution?&amp;nbsp; The javadoc on the method doesn't go into details.&amp;nbsp; The only thing in the user guide that seems relevant is the description of multi-instance tasks and completionCondition, where I find the text "In this</description>
      <pubDate>Thu, 03 Nov 2011 17:56:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/task-deletion-semantics/m-p/78683#M52245</guid>
      <dc:creator>bwd</dc:creator>
      <dc:date>2011-11-03T17:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Task deletion semantics</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/task-deletion-semantics/m-p/78684#M52246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When the multi instance construct is configured with a completion condition of 60%, the execution scope of the multi instance is completed and therefore every outstanding execution within it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is different from completing a task, because that's a user action.&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>Fri, 04 Nov 2011 09:33:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/task-deletion-semantics/m-p/78684#M52246</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-11-04T09:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: Task deletion semantics</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/task-deletion-semantics/m-p/78685#M52247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok - but how does task deletion differ from task completion (other than the fact that you can modify workflow variables on completion)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Presumably, both allow workflow to continue, as otherwise you could end up with a stuck process when you deleted a task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I see that table ACT_HI_TASKINST has a DELETE_REASON_ column, which has values 'deleted' and 'completed' in my database, but other than that and adding workflow variables, is there any difference between task completion and deletion?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for any additional clarification.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;bwd&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2011 16:17:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/task-deletion-semantics/m-p/78685#M52247</guid>
      <dc:creator>bwd</dc:creator>
      <dc:date>2011-11-04T16:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Task deletion semantics</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/task-deletion-semantics/m-p/78686#M52248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I see from forum topic &lt;/SPAN&gt;&lt;A href="http://forums.activiti.org/en/viewtopic.php?f=6&amp;amp;t=270&amp;amp;start=0&amp;amp;hilit=deleteTask" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/en/viewtopic.php?f=6&amp;amp;t=270&amp;amp;start=0&amp;amp;hilit=deleteTask&lt;/A&gt;&lt;SPAN&gt; that deleteTask() isn't the correct call.&amp;nbsp; Instead, the following should be done:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;jbarrez wrote:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Closing the task, while providing a reason (eg 'task invalid, John already did this for me') is cleaner and a more traceable approach.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By closing, do you mean complete the task?&amp;nbsp; If that is the case, how can I differentiate between tasks that have been completed normally by a user and tasks that have been 'cancelled'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;bwd&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2011 18:24:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/task-deletion-semantics/m-p/78686#M52248</guid>
      <dc:creator>bwd</dc:creator>
      <dc:date>2011-11-08T18:24:34Z</dc:date>
    </item>
  </channel>
</rss>

