<?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 Java API - Get tasks and subtasks for a processInstanceId? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/java-api-get-tasks-and-subtasks-for-a-processinstanceid/m-p/129959#M91328</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I can't seem to figure out the traversal path to get all tasks and their sub-tasks for a given process instance id!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;taskService.createTaskQuery().processInstanceId(processInstanceId).list();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But this only gives tasks directly under the processInstanceId, not sub-tasks that may be under parent tasks. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone have an example of getting all tasks for a processInstanceId?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ryan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Feb 2013 18:10:55 GMT</pubDate>
    <dc:creator>roadtripryan</dc:creator>
    <dc:date>2013-02-04T18:10:55Z</dc:date>
    <item>
      <title>Java API - Get tasks and subtasks for a processInstanceId?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-api-get-tasks-and-subtasks-for-a-processinstanceid/m-p/129959#M91328</link>
      <description>I can't seem to figure out the traversal path to get all tasks and their sub-tasks for a given process instance id!I tried taskService.createTaskQuery().processInstanceId(processInstanceId).list();But this only gives tasks directly under the processInstanceId, not sub-tasks that may be under parent</description>
      <pubDate>Mon, 04 Feb 2013 18:10:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-api-get-tasks-and-subtasks-for-a-processinstanceid/m-p/129959#M91328</guid>
      <dc:creator>roadtripryan</dc:creator>
      <dc:date>2013-02-04T18:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Java API - Get tasks and subtasks for a processInstanceId?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-api-get-tasks-and-subtasks-for-a-processinstanceid/m-p/129960#M91329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unfortunately that seems not possible. Altough I agree it would be a valid addition. Please create a Jira issue for us to follow up.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2013 12:29:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-api-get-tasks-and-subtasks-for-a-processinstanceid/m-p/129960#M91329</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-02-05T12:29:35Z</dc:date>
    </item>
  </channel>
</rss>

