<?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: Activiti REST call for list of tasks in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/activiti-rest-call-for-list-of-tasks/m-p/19245#M8516</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you- This worked like a charm!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Oct 2018 14:08:17 GMT</pubDate>
    <dc:creator>paiyyavj13</dc:creator>
    <dc:date>2018-10-25T14:08:17Z</dc:date>
    <item>
      <title>Activiti REST call for list of tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-rest-call-for-list-of-tasks/m-p/19241#M8512</link>
      <description>Hello all,In one requirement we need to fetch data from Alfresco Activiti. We are using RESTTemplate call that returns us list of tasks for the particular user. The only problem is, the response is in JSON format and not showing the type of the corresponding JAVA class. Can anyone tell me that on wh</description>
      <pubDate>Fri, 16 Jun 2017 18:25:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-rest-call-for-list-of-tasks/m-p/19241#M8512</guid>
      <dc:creator>signjoy</dc:creator>
      <dc:date>2017-06-16T18:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti REST call for list of tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-rest-call-for-list-of-tasks/m-p/19242#M8513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to understand your use case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you trying to the Activiti APIs from a external java application and trying to parse the rest response?&amp;nbsp;JSON is the API response standard in Activiti. If you need to convert the JSON&amp;nbsp;string to a POJO,&amp;nbsp;there are plenty of libraries out there which can help. eg:&amp;nbsp;&lt;A class="link-titled" href="https://github.com/FasterXML/jackson" title="https://github.com/FasterXML/jackson" rel="nofollow noopener noreferrer"&gt;GitHub - FasterXML/jackson: Main Portal page for Jackson project&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ciju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 11:51:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-rest-call-for-list-of-tasks/m-p/19242#M8513</guid>
      <dc:creator>cjose</dc:creator>
      <dc:date>2017-06-20T11:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti REST call for list of tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-rest-call-for-list-of-tasks/m-p/19243#M8514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I am calling Activiti from my java app and getting the JSON. I have Jackson in my project. But I am not sure which &lt;STRONG&gt;POJO&lt;/STRONG&gt; I need to create out of the JSON response form activiti.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, the above &lt;STRONG&gt;JSON&lt;/STRONG&gt; response, I am able to create&amp;nbsp;&lt;STRONG&gt;ResultListDataRepresentation&lt;/STRONG&gt; POJO. &amp;nbsp;It also shows the data size 1. I am not sure to which class I need to cast this list of AbstractRepresentation. &amp;nbsp;But when I print the data as string on console, it prints the whole JSON with data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://connect.hyland.com/legacyfs/online/alfresco/14679_1.jpg" style="width: 620px; height: 461px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;joy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 15:30:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-rest-call-for-list-of-tasks/m-p/19243#M8514</guid>
      <dc:creator>signjoy</dc:creator>
      <dc:date>2017-06-20T15:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti REST call for list of tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-rest-call-for-list-of-tasks/m-p/19244#M8515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Understood, that is because of the way you casting it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The "data" field in&amp;nbsp;ResultListDataRepresentation&amp;nbsp;is of type&amp;nbsp;List&amp;lt;? extends AbstractRepresentation&amp;gt;&lt;SPAN&gt;. Hence you get this error as a direct casting to TaskRepresentation will not work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have worked out a sample using Jackson lib and see if that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ciju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2017 20:27:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-rest-call-for-list-of-tasks/m-p/19244#M8515</guid>
      <dc:creator>cjose</dc:creator>
      <dc:date>2017-06-21T20:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti REST call for list of tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-rest-call-for-list-of-tasks/m-p/19245#M8516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you- This worked like a charm!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2018 14:08:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-rest-call-for-list-of-tasks/m-p/19245#M8516</guid>
      <dc:creator>paiyyavj13</dc:creator>
      <dc:date>2018-10-25T14:08:17Z</dc:date>
    </item>
  </channel>
</rss>

