<?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 Unable to query for variable in History in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-query-for-variable-in-history/m-p/161351#M115282</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all !&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to query for a process variable value- since the process has ended at the time of the Query, I'm using the History Service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So I guess I'd need first HistoricDetail:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;List&amp;lt;HistoricDetail&amp;gt; details = historyService.createHistoricDetailQuery().processInstanceId(procId).list();&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;However the details' list is empty. Do you have any idea that brings me in the right direction?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Frank&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Nov 2013 09:32:38 GMT</pubDate>
    <dc:creator>frank41</dc:creator>
    <dc:date>2013-11-18T09:32:38Z</dc:date>
    <item>
      <title>Unable to query for variable in History</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-query-for-variable-in-history/m-p/161351#M115282</link>
      <description>Hi all !I'm trying to query for a process variable value- since the process has ended at the time of the Query, I'm using the History Service.So I guess I'd need first HistoricDetail:&amp;nbsp;&amp;nbsp;&amp;nbsp;List&amp;lt;HistoricDetail&amp;gt; details = historyService.createHistoricDetailQuery().processInstanceId(procId).list();‍</description>
      <pubDate>Mon, 18 Nov 2013 09:32:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unable-to-query-for-variable-in-history/m-p/161351#M115282</guid>
      <dc:creator>frank41</dc:creator>
      <dc:date>2013-11-18T09:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to query for variable in History</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-query-for-variable-in-history/m-p/161352#M115283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I hope, following snippet from the test could help you:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;…&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; List&amp;lt;HistoricProcessInstance&amp;gt; instanceList = historyService.createHistoricProcessInstanceQuery().includeProcessVariables().list();&lt;BR /&gt;…&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2013 09:40:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unable-to-query-for-variable-in-history/m-p/161352#M115283</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2013-11-18T09:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to query for variable in History</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-query-for-variable-in-history/m-p/161353#M115284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your reply, however in the release of Activiti (5.11) I'm using I cannot find the method includeProcessVariables() in the HistoricProcessInstanceQuery() &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2013 10:40:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unable-to-query-for-variable-in-history/m-p/161353#M115284</guid>
      <dc:creator>frank41</dc:creator>
      <dc:date>2013-11-18T10:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to query for variable in History</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-query-for-variable-in-history/m-p/161354#M115285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Frank,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you cherry-pick this feature?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 08:54:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unable-to-query-for-variable-in-history/m-p/161354#M115285</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2013-11-19T08:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to query for variable in History</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-query-for-variable-in-history/m-p/161355#M115286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Another possibility is to use native queries. 5.11 supports them.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 13:29:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unable-to-query-for-variable-in-history/m-p/161355#M115286</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2013-11-19T13:29:38Z</dc:date>
    </item>
  </channel>
</rss>

