<?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: List Task of a Process in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/list-task-of-a-process/m-p/116816#M82451</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The 5.11 release will include a parser that returns a pojo model of the xml. You can try it out from master or wait til next week when we release 5.11.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Nov 2012 12:10:24 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2012-11-23T12:10:24Z</dc:date>
    <item>
      <title>List Task of a Process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/list-task-of-a-process/m-p/116810#M82445</link>
      <description>Hi all,I would like to list all task in a process, more precisely I have one process and the final task is set the result in a website. So if some step is failed in the path I need to set failed in the website and if everything is right i set true in the website. The problem is that when it fail it</description>
      <pubDate>Thu, 07 Jun 2012 15:48:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/list-task-of-a-process/m-p/116810#M82445</guid>
      <dc:creator>lucastdcj</dc:creator>
      <dc:date>2012-06-07T15:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: List Task of a Process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/list-task-of-a-process/m-p/116811#M82446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I suggest you take a look at the JavaDocs of our api, this is quite self-explanatory &lt;/SPAN&gt;&lt;A href="http://activiti.org/javadocs/index.html" rel="nofollow noopener noreferrer"&gt;http://activiti.org/javadocs/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To get you on your way:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;// Get tasks&lt;BR /&gt;List&amp;lt;Task&amp;gt; remainingTasks = taskService.createTaskQuery().processInstanceId("123456").list();&lt;BR /&gt;&lt;BR /&gt;// Finish task manually&lt;BR /&gt;taskService.complete(remainingTasks.get(0), propertiesNeeded);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 07:57:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/list-task-of-a-process/m-p/116811#M82446</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-06-13T07:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: List Task of a Process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/list-task-of-a-process/m-p/116812#M82447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I use this post as it's very close from what i want.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This : &lt;/SPAN&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;List&amp;lt;Task&amp;gt; remainingTasks = taskService.createTaskQuery().processInstanceId("123456").list();&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Just give me the actual Active task, not all the task of my process instance&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've seen somewhere that "HistoricActivityinstances" could give me the complete tasks but how to get the future ones ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then, do you know a way to ask all the tasks (completed, active, future) of an process instance ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your time &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Nov 2012 17:08:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/list-task-of-a-process/m-p/116812#M82447</guid>
      <dc:creator>vire7777</dc:creator>
      <dc:date>2012-11-22T17:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: List Task of a Process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/list-task-of-a-process/m-p/116813#M82448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;search the forum better on how to get the future ones… Most likely no other option then to parse the XML&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2012 09:29:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/list-task-of-a-process/m-p/116813#M82448</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2012-11-23T09:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: List Task of a Process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/list-task-of-a-process/m-p/116814#M82449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Ronald&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So i suppose it exists no way to find All tasks in one action.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have to search in three times : old, active, futures…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How bad… :'(&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2012 10:04:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/list-task-of-a-process/m-p/116814#M82449</guid>
      <dc:creator>vire7777</dc:creator>
      <dc:date>2012-11-23T10:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: List Task of a Process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/list-task-of-a-process/m-p/116815#M82450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, this is not bad. There is a simple reason for this. You can never know for sure upfront which tasks will be actually available in the process instance when it is executing. E.g. gateways can influence this. So what is the usecase of having an overview of all tasks of a process?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2012 12:08:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/list-task-of-a-process/m-p/116815#M82450</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2012-11-23T12:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: List Task of a Process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/list-task-of-a-process/m-p/116816#M82451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The 5.11 release will include a parser that returns a pojo model of the xml. You can try it out from master or wait til next week when we release 5.11.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2012 12:10:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/list-task-of-a-process/m-p/116816#M82451</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2012-11-23T12:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: List Task of a Process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/list-task-of-a-process/m-p/116817#M82452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sure, but imagine for example that someone would love more informations about any tasks evenif they could not be played (because the process could take an other way) and just to be informed of any possibility (a manager could love that, to check who would be affected by this or this task). That is what we want.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, i would wait for next week and the 5.11 release&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In all cases thanks a lot for your time &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2012 16:46:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/list-task-of-a-process/m-p/116817#M82452</guid>
      <dc:creator>vire7777</dc:creator>
      <dc:date>2012-11-23T16:46:04Z</dc:date>
    </item>
  </channel>
</rss>

