<?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: Behavior of TaskService.deleteTask in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/behavior-of-taskservice-deletetask/m-p/21497#M10171</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The process will actually be stuck, since there is no way to continue anymore through that path.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Noted. Is that means the process instance is always active in this case?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&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;/BLOCKQUOTE&gt;&lt;SPAN&gt;Is that means provide a way for user to terminate the process (Let's say the user initiates a process by mistake)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chee Kin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Sep 2010 14:21:40 GMT</pubDate>
    <dc:creator>limcheekin</dc:creator>
    <dc:date>2010-09-17T14:21:40Z</dc:date>
    <item>
      <title>Behavior of TaskService.deleteTask</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/behavior-of-taskservice-deletetask/m-p/21494#M10168</link>
      <description>Hi,I would like to find out more about the behavior of TaskService.deleteTask. What happened if this method being invoked when the task have assignee or without assignee and what is it impacts to the process instance? Will the process instance be terminated?Best regards,Chee Kin</description>
      <pubDate>Thu, 16 Sep 2010 11:37:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/behavior-of-taskservice-deletetask/m-p/21494#M10168</guid>
      <dc:creator>limcheekin</dc:creator>
      <dc:date>2010-09-16T11:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Behavior of TaskService.deleteTask</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/behavior-of-taskservice-deletetask/m-p/21495#M10169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The task record will simply be deleted from the database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The process will actually be stuck, since there is no way to continue anymore through that path.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So this method should only be used in admin applications, where people know what they are doing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Deleting a task makes no sense for an end-user. 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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Sep 2010 08:20:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/behavior-of-taskservice-deletetask/m-p/21495#M10169</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2010-09-17T08:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Behavior of TaskService.deleteTask</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/behavior-of-taskservice-deletetask/m-p/21496#M10170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The process will actually be stuck, since there is no way to continue anymore through that path.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Noted. Is that means the process instance is always active?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chee Kin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Sep 2010 14:18:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/behavior-of-taskservice-deletetask/m-p/21496#M10170</guid>
      <dc:creator>limcheekin</dc:creator>
      <dc:date>2010-09-17T14:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Behavior of TaskService.deleteTask</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/behavior-of-taskservice-deletetask/m-p/21497#M10171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The process will actually be stuck, since there is no way to continue anymore through that path.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Noted. Is that means the process instance is always active in this case?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&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;/BLOCKQUOTE&gt;&lt;SPAN&gt;Is that means provide a way for user to terminate the process (Let's say the user initiates a process by mistake)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chee Kin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Sep 2010 14:21:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/behavior-of-taskservice-deletetask/m-p/21497#M10171</guid>
      <dc:creator>limcheekin</dc:creator>
      <dc:date>2010-09-17T14:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Behavior of TaskService.deleteTask</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/behavior-of-taskservice-deletetask/m-p/21498#M10172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Noted. Is that means the process instance is always active in this case?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, the process will be active (it will live in the runtime database tables forever if not removed).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is that means provide a way for user to terminate the process (Let's say the user initiates a process by mistake)?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;No, that would be this method on the RuntimeService:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt; /** Delete an existing runtime process instance.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * @param processInstanceId id of process instance to delete, cannot be null.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * @param deleteReason reason for deleting, can be null.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * @throws ActivitiException when no process instance is found with the given id.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; */&lt;BR /&gt;&amp;nbsp; void deleteProcessInstance(String processInstanceId, String deleteReason);&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Deleting a process instance this way, will also delete all attached tasks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 07:58:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/behavior-of-taskservice-deletetask/m-p/21498#M10172</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2010-09-20T07:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Behavior of TaskService.deleteTask</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/behavior-of-taskservice-deletetask/m-p/21499#M10173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Noted. Thanks for your advice.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chee Kin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Sep 2010 01:44:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/behavior-of-taskservice-deletetask/m-p/21499#M10173</guid>
      <dc:creator>limcheekin</dc:creator>
      <dc:date>2010-09-21T01:44:52Z</dc:date>
    </item>
  </channel>
</rss>

