<?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: How do I asssign a status to Task for filtering in Tasklist in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-do-i-asssign-a-status-to-task-for-filtering-in-tasklist/m-p/131865#M92666</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;1) While using the CDI Business process bean to complete a task how do we assign a delete Reason to the Task, don't see that flag in the CDI Api Java doc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) To show All current assigned tasks for a particular user we use taskService.createTaskQuery()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .taskAssignee(currentUser.getUsername()).list()&amp;nbsp; , but from our conversation it looks like it will also return expired and suspended and maybe deleted tasks, so to eliminate these records I might need to put additional filters to TaskQuery, so what are the other possible states that could be eliminated from a running task list ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Mar 2013 11:13:57 GMT</pubDate>
    <dc:creator>chimu</dc:creator>
    <dc:date>2013-03-15T11:13:57Z</dc:date>
    <item>
      <title>How do I asssign a status to Task for filtering in Tasklist</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-do-i-asssign-a-status-to-task-for-filtering-in-tasklist/m-p/131863#M92664</link>
      <description>While saving a UserTask in the Task table where do we store the current status of the Task. we have the following possible outcomes {Assigned, Completed, Suspended (can be resumed later), Withdrawn, Expired, Errored (while processing), Alerted, Information Requested}I don't see a status column in th</description>
      <pubDate>Wed, 13 Mar 2013 11:23:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-do-i-asssign-a-status-to-task-for-filtering-in-tasklist/m-p/131863#M92664</guid>
      <dc:creator>chimu</dc:creator>
      <dc:date>2013-03-13T11:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do I asssign a status to Task for filtering in Tasklist</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-do-i-asssign-a-status-to-task-for-filtering-in-tasklist/m-p/131864#M92665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;All tasks that are not yet completed, are in the UserTask table. All running and completed tasks are in the history.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) You can set "task variables" (taskService.setVariableLocal(…)) to set the status and late on, query tasks based on taskVariableEquals("myStatus", "Waiting"). You can also use the deleteReason, in case the status is only applicable for COMPLETED UserTasks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) If you finish the tasks that are Suspended, Expired or Deleted processes, these will remain in the history-tables.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) See 1&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2013 11:27:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-do-i-asssign-a-status-to-task-for-filtering-in-tasklist/m-p/131864#M92665</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-03-14T11:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: How do I asssign a status to Task for filtering in Tasklist</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-do-i-asssign-a-status-to-task-for-filtering-in-tasklist/m-p/131865#M92666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;1) While using the CDI Business process bean to complete a task how do we assign a delete Reason to the Task, don't see that flag in the CDI Api Java doc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) To show All current assigned tasks for a particular user we use taskService.createTaskQuery()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .taskAssignee(currentUser.getUsername()).list()&amp;nbsp; , but from our conversation it looks like it will also return expired and suspended and maybe deleted tasks, so to eliminate these records I might need to put additional filters to TaskQuery, so what are the other possible states that could be eliminated from a running task list ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Mar 2013 11:13:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-do-i-asssign-a-status-to-task-for-filtering-in-tasklist/m-p/131865#M92666</guid>
      <dc:creator>chimu</dc:creator>
      <dc:date>2013-03-15T11:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: How do I asssign a status to Task for filtering in Tasklist</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-do-i-asssign-a-status-to-task-for-filtering-in-tasklist/m-p/131866#M92667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Completed/deleted tasks will not be shown in the query. For excluding suspended ones:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt; /**&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * Only selects tasks which are suspended, because its process instance was suspended.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; */&lt;BR /&gt;&amp;nbsp; TaskQuery suspended();&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; /**&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * Only selects tasks which are active (ie. not suspended)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; */&lt;BR /&gt;&amp;nbsp; TaskQuery active();&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 06:36:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-do-i-asssign-a-status-to-task-for-filtering-in-tasklist/m-p/131866#M92667</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-03-21T06:36:37Z</dc:date>
    </item>
  </channel>
</rss>

