<?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: How to get Varaibles of ended ProcessInstance in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-varaibles-of-ended-processinstance/m-p/68897#M44233</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The HistoricDetailQuery doesn't allow you to get the latest variable value (quite heavy querying involved as well). You can always query ordered by time and revision and push them in a map (key=varName, value=varValue) without overriding elements that are already present…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Aug 2011 07:56:30 GMT</pubDate>
    <dc:creator>frederikherema1</dc:creator>
    <dc:date>2011-08-24T07:56:30Z</dc:date>
    <item>
      <title>How to get Varaibles of ended ProcessInstance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-varaibles-of-ended-processinstance/m-p/68896#M44232</link>
      <description>Hi,is there a simple way to get the "latest" variables of a processinstance. I know HistoricTaskDetail but there I have to search manually if a variable was updated multiple times and get the latest value.Kind regardsPhilipp Eichhorn</description>
      <pubDate>Wed, 24 Aug 2011 07:50:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-varaibles-of-ended-processinstance/m-p/68896#M44232</guid>
      <dc:creator>pcsquirrel</dc:creator>
      <dc:date>2011-08-24T07:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Varaibles of ended ProcessInstance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-varaibles-of-ended-processinstance/m-p/68897#M44233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The HistoricDetailQuery doesn't allow you to get the latest variable value (quite heavy querying involved as well). You can always query ordered by time and revision and push them in a map (key=varName, value=varValue) without overriding elements that are already present…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 07:56:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-varaibles-of-ended-processinstance/m-p/68897#M44233</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-08-24T07:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Varaibles of ended ProcessInstance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-varaibles-of-ended-processinstance/m-p/68898#M44234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thats the way I´m doing it at the moment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 08:09:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-varaibles-of-ended-processinstance/m-p/68898#M44234</guid>
      <dc:creator>pcsquirrel</dc:creator>
      <dc:date>2011-08-24T08:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Varaibles of ended ProcessInstance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-varaibles-of-ended-processinstance/m-p/68899#M44235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To not use the historyService, you could place a receive task just before your end-state. then query the variables using runtimeService there and after use the signal() method to finish the instances execution. Fetching the variables this way, it's not necessary to set history level to full.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;michael&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 08:48:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-varaibles-of-ended-processinstance/m-p/68899#M44235</guid>
      <dc:creator>gant</dc:creator>
      <dc:date>2011-08-24T08:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Varaibles of ended ProcessInstance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-varaibles-of-ended-processinstance/m-p/68900#M44236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there any plans to allow for searching on historicProcessInstances that are holding to specific variables, like you can with active (running) process instances?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, is there any plans to allow to just store the end-result of variables set for tasks (or process instances) when in 'audit' mode as opposed to current way of storing updates when in 'full' mode?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2011 19:14:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-varaibles-of-ended-processinstance/m-p/68900#M44236</guid>
      <dc:creator>wolpert</dc:creator>
      <dc:date>2011-10-04T19:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Varaibles of ended ProcessInstance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-varaibles-of-ended-processinstance/m-p/68901#M44237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Wolpert, you can search for historic tasks that are part of a process that 'had' certain variable values (as well as task-variables)…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 06:06:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-varaibles-of-ended-processinstance/m-p/68901#M44237</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-10-05T06:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Varaibles of ended ProcessInstance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-varaibles-of-ended-processinstance/m-p/68902#M44238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Right, my question was _is_ parity in requests going to be added in activiti going forward.&amp;nbsp; I can do the following for active processes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;runtimeService.createProcessInstanceQuery().variableValueEquals('x','y').list()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but for historical ones, I have to do as you mentioned,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;list = historyService.createHistoricTaskInstanceQuery().taskVariableValueEquals('x','y').list()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;then, for each entry in the list… query again for the historical processInstance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was really asking if we will ever be able to the same variable searches in the historyService that we can do in the runtimeService in regards to process instances, or is there no plan for making that addition?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 19:00:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-varaibles-of-ended-processinstance/m-p/68902#M44238</guid>
      <dc:creator>wolpert</dc:creator>
      <dc:date>2011-10-05T19:00:50Z</dc:date>
    </item>
  </channel>
</rss>

