<?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: Get all user tasks for a process definition/instance in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/get-all-user-tasks-for-a-process-definition-instance/m-p/230532#M183662</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Use the repositoryService.getBpmnModel method. It will give you a Java pojo version of your process definition&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jan 2016 21:13:05 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2016-01-20T21:13:05Z</dc:date>
    <item>
      <title>Get all user tasks for a process definition/instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-all-user-tasks-for-a-process-definition-instance/m-p/230529#M183659</link>
      <description>I have a simple requirement - I need to get all user tasks for a given process. Using taskservice or historyservice only gives me active or completed tasks. How do I get all the tasks in a process? I have found the below code from some earlier forum threads. Is this acceptable? I believe there shoul</description>
      <pubDate>Fri, 08 Jan 2016 18:57:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-all-user-tasks-for-a-process-definition-instance/m-p/230529#M183659</guid>
      <dc:creator>viralparekh</dc:creator>
      <dc:date>2016-01-08T18:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Get all user tasks for a process definition/instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-all-user-tasks-for-a-process-definition-instance/m-p/230530#M183660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can get task definitions from process definition:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[java]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Map&amp;lt;String, TaskDefinition&amp;gt; taskDefinitions = processDefinition.getTaskDefinitions();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/java]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After that if you need ActivityImpl you can find it by key from process definition:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[java]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ActivityImpl activity = processDefinition.findActivity(activityId);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/java]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2016 22:08:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-all-user-tasks-for-a-process-definition-instance/m-p/230530#M183660</guid>
      <dc:creator>iam</dc:creator>
      <dc:date>2016-01-08T22:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Get all user tasks for a process definition/instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-all-user-tasks-for-a-process-definition-instance/m-p/230531#M183661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Isn't there a public api or rest api to a get all the tasks of a given process?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 02:18:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-all-user-tasks-for-a-process-definition-instance/m-p/230531#M183661</guid>
      <dc:creator>viralparekh</dc:creator>
      <dc:date>2016-01-11T02:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: Get all user tasks for a process definition/instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-all-user-tasks-for-a-process-definition-instance/m-p/230532#M183662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Use the repositoryService.getBpmnModel method. It will give you a Java pojo version of your process definition&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 21:13:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-all-user-tasks-for-a-process-definition-instance/m-p/230532#M183662</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-01-20T21:13:05Z</dc:date>
    </item>
  </channel>
</rss>

