<?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: Retrieving all tasks defined in a process definition via REST API in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-all-tasks-defined-in-a-process-definition-via-rest/m-p/200130#M153260</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to fetch all tasks having specific processDefinitionId.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is my url:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://localhost:8080/activiti-rest/service/runtime/tasks?size=100000&amp;amp;processDefinitionId=reviewSaledLead:1:40" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/activiti-rest/service/runtime/tasks?size=100000&amp;amp;processDefinitionId=reviewSaledLead:1:40&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;But tasks are not getting filtered by processDefinitionId. it giving me all tasks from ACT_RU_TASK table without filteration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How to resolve this ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Aug 2016 13:37:10 GMT</pubDate>
    <dc:creator>amruta_holey</dc:creator>
    <dc:date>2016-08-25T13:37:10Z</dc:date>
    <item>
      <title>Retrieving all tasks defined in a process definition via REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-all-tasks-defined-in-a-process-definition-via-rest/m-p/200122#M153252</link>
      <description>I was trying to find out if it was possible to retrieve the list of all User tasks configured in a process definition/instance via the REST API. From the user guide I could not determine if that is possible at all. Only the tasks that have been completed/current seem to be getting returned for runti</description>
      <pubDate>Wed, 08 Apr 2015 12:11:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-all-tasks-defined-in-a-process-definition-via-rest/m-p/200122#M153252</guid>
      <dc:creator>dvk78</dc:creator>
      <dc:date>2015-04-08T12:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving all tasks defined in a process definition via REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-all-tasks-defined-in-a-process-definition-via-rest/m-p/200123#M153253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am not sure whether you want to retrieve task instances or task definitions (User Tasks defined in a process definition).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are referring to task instances, you can retrieve task instances of a specific process instance or process definition, check &lt;/SPAN&gt;&lt;EM&gt;15.8.12. Get historic task instances&lt;/EM&gt;&lt;SPAN&gt; section in the Activiti User Guide&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://activiti.org/userguide/index.html" rel="nofollow noopener noreferrer"&gt;http://activiti.org/userguide/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Use the &lt;/SPAN&gt;&lt;EM&gt;processInstanceId&lt;/EM&gt;&lt;SPAN&gt; parameter to get task instances of a specific process instance. Use the &lt;/SPAN&gt;&lt;EM&gt;processDefinitionId&lt;/EM&gt;&lt;SPAN&gt; parameter to get task instances of all process instances of a specific process definition. There are other parameters that you can use to filter results as needed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are referring to task definitions, I don't think that is currently possible. However, you can retrieve the whole process definition (which will include all user tasks definitions) using&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;GET repository/process-definitions/{processDefinitionId}/model&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 19:55:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-all-tasks-defined-in-a-process-definition-via-rest/m-p/200123#M153253</guid>
      <dc:creator>balsarori</dc:creator>
      <dc:date>2015-04-08T19:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving all tasks defined in a process definition via REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-all-tasks-defined-in-a-process-definition-via-rest/m-p/200124#M153254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for responding balsarori. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For my situation, it would be ideal if I could retrieve all the 'User Tasks' that are defined in a process definition. If that is not possible, the alternative would be to retrieve all the 'User Tasks' that could be potentially associated to the process instance as per the process definition. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess it would boil down to API support that would involve parsing the bpmn xml and listing all the 'User Tasks' defined in it. If that support is not there, may be it could be built for a future release?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 06:05:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-all-tasks-defined-in-a-process-definition-via-rest/m-p/200124#M153254</guid>
      <dc:creator>dvk78</dc:creator>
      <dc:date>2015-04-09T06:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving all tasks defined in a process definition via REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-all-tasks-defined-in-a-process-definition-via-rest/m-p/200125#M153255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;gt; l if I could retrieve all the 'User Tasks' that are defined in a process definition&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then you need to filter on process definition (id or key)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 12:06:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-all-tasks-defined-in-a-process-definition-via-rest/m-p/200125#M153255</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-04-14T12:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving all tasks defined in a process definition via REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-all-tasks-defined-in-a-process-definition-via-rest/m-p/200126#M153256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I do not see any Task-related data in the REST response for a GET of a process-definition. Which API are you referring to?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 08:44:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-all-tasks-defined-in-a-process-definition-via-rest/m-p/200126#M153256</guid>
      <dc:creator>dvk78</dc:creator>
      <dc:date>2015-04-15T08:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving all tasks defined in a process definition via REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-all-tasks-defined-in-a-process-definition-via-rest/m-p/200127#M153257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Check &lt;/SPAN&gt;&lt;EM&gt;15.3.5. Get a process definition BPMN model&lt;/EM&gt;&lt;SPAN&gt; section in the user guide. Did you do a GET call to the following REST url?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;repository/process-definitions/{processDefinitionId}/model&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 18:57:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-all-tasks-defined-in-a-process-definition-via-rest/m-p/200127#M153257</guid>
      <dc:creator>balsarori</dc:creator>
      <dc:date>2015-04-15T18:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving all tasks defined in a process definition via REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-all-tasks-defined-in-a-process-definition-via-rest/m-p/200128#M153258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks. This works. I had tried repository/process-definitions/{processDefinitionId} . Missed the /model at the end.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 05:31:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-all-tasks-defined-in-a-process-definition-via-rest/m-p/200128#M153258</guid>
      <dc:creator>dvk78</dc:creator>
      <dc:date>2015-04-16T05:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving all tasks defined in a process definition via REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-all-tasks-defined-in-a-process-definition-via-rest/m-p/200129#M153259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How can we identify the tasks in the list is a user task(not a gateway or mail task etc,.)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2016 11:24:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-all-tasks-defined-in-a-process-definition-via-rest/m-p/200129#M153259</guid>
      <dc:creator>arunk</dc:creator>
      <dc:date>2016-07-07T11:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving all tasks defined in a process definition via REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-all-tasks-defined-in-a-process-definition-via-rest/m-p/200130#M153260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to fetch all tasks having specific processDefinitionId.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is my url:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://localhost:8080/activiti-rest/service/runtime/tasks?size=100000&amp;amp;processDefinitionId=reviewSaledLead:1:40" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/activiti-rest/service/runtime/tasks?size=100000&amp;amp;processDefinitionId=reviewSaledLead:1:40&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;But tasks are not getting filtered by processDefinitionId. it giving me all tasks from ACT_RU_TASK table without filteration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How to resolve this ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 13:37:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-all-tasks-defined-in-a-process-definition-via-rest/m-p/200130#M153260</guid>
      <dc:creator>amruta_holey</dc:creator>
      <dc:date>2016-08-25T13:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving all tasks defined in a process definition via REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-all-tasks-defined-in-a-process-definition-via-rest/m-p/200131#M153261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It is giving correct result when I filter it by processInstanceId but giving all task records from the table when I pass processDefinitionId as a url parameter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 13:58:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-all-tasks-defined-in-a-process-definition-via-rest/m-p/200131#M153261</guid>
      <dc:creator>amruta_holey</dc:creator>
      <dc:date>2016-08-25T13:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving all tasks defined in a process definition via REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-all-tasks-defined-in-a-process-definition-via-rest/m-p/200132#M153262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Correct, processDefinitionId is not a supported request parameter currently.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Instead, you could use processDefinitionKey for example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 07:19:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-all-tasks-defined-in-a-process-definition-via-rest/m-p/200132#M153262</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2016-08-29T07:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving all tasks defined in a process definition via REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-all-tasks-defined-in-a-process-definition-via-rest/m-p/200133#M153263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've added processDefinitionId last week.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2016 14:35:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-all-tasks-defined-in-a-process-definition-via-rest/m-p/200133#M153263</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-09-01T14:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving all tasks defined in a process definition via REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-all-tasks-defined-in-a-process-definition-via-rest/m-p/200134#M153264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks trademak, Can you please reply me with the example how i can use processDefinitionKey&amp;nbsp; as parameter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 08:45:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-all-tasks-defined-in-a-process-definition-via-rest/m-p/200134#M153264</guid>
      <dc:creator>amruta_holey</dc:creator>
      <dc:date>2016-09-02T08:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving all tasks defined in a process definition via REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-all-tasks-defined-in-a-process-definition-via-rest/m-p/200135#M153265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks jbarrez. Till the time we get next release of Acitiviti,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; is there any other alternative way to get tasks list which are defined in process definition ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 09:00:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-all-tasks-defined-in-a-process-definition-via-rest/m-p/200135#M153265</guid>
      <dc:creator>amruta_holey</dc:creator>
      <dc:date>2016-09-02T09:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving all tasks defined in a process definition via REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-all-tasks-defined-in-a-process-definition-via-rest/m-p/200136#M153266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;no, process definition key is the only way I'm afraid. But you'll get the tasks for all the version for that particular key.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 12:58:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-all-tasks-defined-in-a-process-definition-via-rest/m-p/200136#M153266</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-09-02T12:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving all tasks defined in a process definition via REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-all-tasks-defined-in-a-process-definition-via-rest/m-p/200137#M153267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this has been a while - but i am on same boat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;getting all user tasks from BpmnModel will give you statically the universe of tasks without considering conditional workflows - is my assumption correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If yes - then would we get all user tasks that are only valid based on conditional workflows and existing runtime parameters to process instance?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Aug 2017 13:58:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-all-tasks-defined-in-a-process-definition-via-rest/m-p/200137#M153267</guid>
      <dc:creator>nmorado</dc:creator>
      <dc:date>2017-08-01T13:58:32Z</dc:date>
    </item>
  </channel>
</rss>

