<?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: rest api query/historic-process-instances in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/rest-api-query-historic-process-instances/m-p/152427#M107075</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you want to get a single historic process instance by ID, there is no need to query. Each instance represents a unique REST-resource. Just build up an URL using the ID:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;GET history/historic-process-instances/{processInstanceId}&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Feb 2014 09:10:55 GMT</pubDate>
    <dc:creator>frederikherema1</dc:creator>
    <dc:date>2014-02-10T09:10:55Z</dc:date>
    <item>
      <title>rest api query/historic-process-instances</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-api-query-historic-process-instances/m-p/152425#M107073</link>
      <description>used api query/historic-process-instances, and body is  {"processDefinitionId" : "myProcess:1:108",&amp;nbsp; "variables" : [ ]},the Response is {&amp;nbsp; "data": [&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "id": "109",&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "url": "http://localhost:8080/activiti-explorer/service/history/historic-process-instances/109",&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "businessKey": null,&amp;nbsp;</description>
      <pubDate>Sat, 08 Feb 2014 08:25:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-api-query-historic-process-instances/m-p/152425#M107073</guid>
      <dc:creator>liuyong</dc:creator>
      <dc:date>2014-02-08T08:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: rest api query/historic-process-instances</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-api-query-historic-process-instances/m-p/152426#M107074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;can someone tell me, thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 01:27:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-api-query-historic-process-instances/m-p/152426#M107074</guid>
      <dc:creator>liuyong</dc:creator>
      <dc:date>2014-02-10T01:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: rest api query/historic-process-instances</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-api-query-historic-process-instances/m-p/152427#M107075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you want to get a single historic process instance by ID, there is no need to query. Each instance represents a unique REST-resource. Just build up an URL using the ID:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;GET history/historic-process-instances/{processInstanceId}&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 09:10:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-api-query-historic-process-instances/m-p/152427#M107075</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2014-02-10T09:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: rest api query/historic-process-instances</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-api-query-historic-process-instances/m-p/152428#M107076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 05:14:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-api-query-historic-process-instances/m-p/152428#M107076</guid>
      <dc:creator>liuyong</dc:creator>
      <dc:date>2014-02-11T05:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: rest api query/historic-process-instances</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-api-query-historic-process-instances/m-p/152429#M107077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi i am newbie in Activiti, I am using 5.16.1 and when i call&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;GET history/historic-process-instances/{processInstanceId} the variables are empty and of course history/historic-process-instances/{processInstanceId}/variables does not work (neither {variableId} or {variableId}/data).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;GET history/historic-process-instances?includeProcessVariables=true returns all the process instances with the variables included but i dont want to retrieve all the process instances stored.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The solution for me was to use the following REST api&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;GET history/historic-variable-instances?processInstanceId={processInstanceId}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But i consider that the first one should work, am I doing something wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks and regards.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Carlos.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2014 14:57:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-api-query-historic-process-instances/m-p/152429#M107077</guid>
      <dc:creator>ccavero</dc:creator>
      <dc:date>2014-09-01T14:57:22Z</dc:date>
    </item>
  </channel>
</rss>

