<?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 Historic Process Variable Not Being Returned in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/historic-process-variable-not-being-returned/m-p/196329#M149459</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;I am using activiti 5.15.1 with a postgresql db. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I use the rest api to query historic process variables and I am getting all process variables but one back: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://blqadb3.ls.cbn/restactiviti/service/history/historic-variable-instances?processInstanceId=701" rel="nofollow noopener noreferrer"&gt;https://blqadb3.ls.cbn/restactiviti/service/history/historic-variable-instances?processInstanceId=701&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;{"data":[{"id":"718","processInstanceId":"701","processInstanceUrl":"&lt;A href="https://blqadb3.ls.cbn/restactiviti/service/history/historic-process-instances/701%22,%22taskId%22:null,%22variable%22:{%22name%22:%22bankTransId%22,%22type%22:%22string%22,%22value%22:%22fakeTransID%22,%22scope%22:null}},{%22id%22:%22717%22,%22processInstanceId%22:%22701%22,%22processInstanceUrl%22:%22https://blqadb3.ls.cbn/restactiviti/service/history/historic-process-instances/701%22,%22taskId%22:null,%22variable%22:{%22name%22:%22bankTransResult%22,%22type%22:%22boolean%22,%22value%22:true,%22scope%22:null}},{%22id%22:%22707%22,%22processInstanceId%22:%22701%22,%22processInstanceUrl%22:%22https://blqadb3.ls.cbn/restactiviti/service/history/historic-process-instances/701%22,%22taskId%22:null,%22variable%22:{%22name%22:%22calcval%22,%22type%22:%22string%22,%22value%22:%2225.0%22,%22scope%22:null}},{%22id%22:%22723%22,%22processInstanceId%22:%22701%22,%22processInstanceUrl%22:%22https://blqadb3.ls.cbn/restactiviti/service/history/historic-process-instances/701%22,%22taskId%22:null,%22variable%22:{%22name%22:%22currentWalletBal%22,%22type%22:%22double%22,%22value%22:25.0,%22scope%22:null}},{%22id%22:%22711%22,%22processInstanceId%22:%22701%22,%22processInstanceUrl%22:%22https://blqadb3.ls.cbn/restactiviti/service/history/historic-process-instances/701%22,%22taskId%22:null,%22variable%22:{%22name%22:%22eWalletBalence%22,%22type%22:%22string%22,%22value%22:%220.0%22,%22scope%22:null}},{%22id%22:%22710%22,%22processInstanceId%22:%22701%22,%22processInstanceUrl%22:%22https://blqadb3.ls.cbn/restactiviti/service/history/historic-process-instances/701%22,%22taskId%22:null,%22variable%22:{%22name%22:%22eWalletCheckResult%22,%22type%22:%22boolean%22,%22value%22:false,%22scope%22:null}},{%22id%22:%22702%22,%22processInstanceId%22:%22701%22,%22processInstanceUrl%22:%22https://blqadb3.ls.cbn/restactiviti/service/history/historic-process-instances/701%22,%22taskId%22:null,%22variable%22:{%22name%22:%22Initiator%22,%22type%22:%22string%22,%22value%22:%22kermit%22,%22scope%22:null}},{%22id%22:%22709%22,%22processInstanceId%22:%22701%22,%22processInstanceUrl%22:%22https://blqadb3.ls.cbn/restactiviti/service/history/historic-process-instances/701%22,%22taskId%22:null,%22variable%22:{%22name%22:%22limitCheckResult%22,%22type%22:%22boolean%22,%22value%22:true,%22scope%22:null}},{%22id%22:%22705%22,%22processInstanceId%22:%22701%22,%22processInstanceUrl%22:%22https://blqadb3.ls.cbn/restactiviti/service/history/historic-process-instances/701%22,%22taskId%22:null,%22variable%22:{%22name%22:%22playdata%22,%22type%22:%22string%22,%22value%22:%22{\%22initialPurchaseRequest\%22:{\%22userIdentifier\%22:\%22user__500192@blqaweb1\%22,\%22businessProcID\%22:\%22VARCHAR_PROC_ID\%22,\%22tickets\" rel="nofollow noopener noreferrer"&gt;https://blqadb3.ls.cbn/restactiviti/service/history/historic-process-instances/701','taskId':null,'variable':{'name':'bankTransId','type':'string','value':'fakeTransID','scope':null}},{'id':'717','processInstanceId':'701','processInstanceUrl':'https://blqadb3.ls.cbn/restactiviti/service/history/historic-process-instances/701','taskId':null,'variable':{'name':'bankTransResult','type':'boolean','value':true,'scope':null}},{'id':'707','processInstanceId':'701','processInstanceUrl':'https://blqadb3.ls.cbn/restactiviti/service/history/historic-process-instances/701','taskId':null,'variable':{'name':'calcval','type':'string','value':'25.0','scope':null}},{'id':'723','processInstanceId':'701','processInstanceUrl':'https://blqadb3.ls.cbn/restactiviti/service/history/historic-process-instances/701','taskId':null,'variable':{'name':'currentWalletBal','type':'double','value':25.0,'scope':null}},{'id':'711','processInstanceId':'701','processInstanceUrl':'https://blqadb3.ls.cbn/restactiviti/service/history/historic-process-instances/701','taskId':null,'variable':{'name':'eWalletBalence','type':'string','value':'0.0','scope':null}},{'id':'710','processInstanceId':'701','processInstanceUrl':'https://blqadb3.ls.cbn/restactiviti/service/history/historic-process-instances/701','taskId':null,'variable':{'name':'eWalletCheckResult','type':'boolean','value':false,'scope':null}},{'id':'702','processInstanceId':'701','processInstanceUrl':'https://blqadb3.ls.cbn/restactiviti/service/history/historic-process-instances/701','taskId':null,'variable':{'name':'Initiator','type':'string','value':'kermit','scope':null}},{'id':'709','processInstanceId':'701','processInstanceUrl':'https://blqadb3.ls.cbn/restactiviti/service/history/historic-process-instances/701','taskId':null,'variable':{'name':'limitCheckResult','type':'boolean','value':true,'scope':null}},{'id':'705','processInstanceId':'701','processInstanceUrl':'https://blqadb3.ls.cbn/restactiviti/service/history/historic-process-instances/701','taskId':null,'variable':{'name':'playdata','type':'string','value':'{\'initialPurchaseRequest\':{\'userIdentifier\':\'user__500192@blqaweb1\',\'businessProcID\':\'VARCHAR_PROC_ID\',\'tickets\&lt;/A&gt;":[[{\"numberOfDraws\":1,\"gamename\":\"La Diaria\",\"purchaseStructureName\":\"Regular\",\"wagerAmount\":5,\"quickPick\":true,\"playData\":\"\"},{\"numberOfDraws\":1,\"gamename\":\"La Diaria\",\"purchaseStructureName\":\"Regular\",\"wagerAmount\":5,\"quickPick\":true,\"playData\":\"\"},{\"numberOfDraws\":1,\"gamename\":\"La Diaria\",\"purchaseStructureName\":\"Regular\",\"wagerAmount\":5,\"quickPick\":true,\"playData\":\"\"},{\"numberOfDraws\":1,\"gamename\":\"La Diaria\",\"purchaseStructureName\":\"Regular\",\"wagerAmount\":5,\"quickPick\":true,\"playData\":\"\"},{\"numberOfDraws\":1,\"gamename\":\"La Diaria\",\"purchaseStructureName\":\"Regular\",\"wagerAmount\":5,\"quickPick\":true,\"playData\":\"\"}]]}}","scope":null}},{"id":"728","processInstanceId":"701","processInstanceUrl":"&lt;A href="https://blqadb3.ls.cbn/restactiviti/service/history/historic-process-instances/701%22,%22taskId%22:null,%22variable%22:{%22name%22:%22purchaseSuccessful%22,%22type%22:%22boolean%22,%22value%22:true,%22scope%22:null}}],%22total%22:17,%22start%22:0,%22sort%22:%22variableName%22,%22order%22:%22asc%22,%22size%22:10" rel="nofollow noopener noreferrer"&gt;https://blqadb3.ls.cbn/restactiviti/service/history/historic-process-instances/701','taskId':null,'variable':{'name':'purchaseSuccessful','type':'boolean','value':true,'scope':null}}],'total':17,'start':0,'sort':'variableName','order':'asc','size':10&lt;/A&gt;}&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;BR /&gt;&lt;SPAN&gt;Even thought that variable is in the databae&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;SELECT * from act_hi_varinst where name_ = 'serialNumber' and proc_inst_id_ = '701';&lt;BR /&gt; id_ | proc_inst_id_ | execution_id_ | task_id_ |&amp;nbsp;&amp;nbsp;&amp;nbsp; name_&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | var_type_ | rev_ | bytearray_id_ | double_ | long_ | text_ | text2_ |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; create_time_&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp; last_updated_time_&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;—–+—————+—————+———-+————–+———–+——+—————+———+——-+——-+——–+————————-+————————-&lt;BR /&gt; 727 | 701&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | 701&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | serialNumber | string&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | 2014-06-20 15:18:07.206 | 2014-06-20 15:18:07.221&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;/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;BR /&gt;&lt;SPAN&gt;I thought it might be that I had set to many process variables so I tired not setting one I still got the same result. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas why the variable would be in the DB but not returned in the rest query? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bram &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jun 2014 19:29:24 GMT</pubDate>
    <dc:creator>bcymet</dc:creator>
    <dc:date>2014-06-20T19:29:24Z</dc:date>
    <item>
      <title>Historic Process Variable Not Being Returned</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/historic-process-variable-not-being-returned/m-p/196329#M149459</link>
      <description>Hi, I am using activiti 5.15.1 with a postgresql db. When I use the rest api to query historic process variables and I am getting all process variables but one back: https://blqadb3.ls.cbn/restactiviti/service/history/historic-variable-instances?processInstanceId=701{"data":[{"id":"718","processInst</description>
      <pubDate>Fri, 20 Jun 2014 19:29:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/historic-process-variable-not-being-returned/m-p/196329#M149459</guid>
      <dc:creator>bcymet</dc:creator>
      <dc:date>2014-06-20T19:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: Historic Process Variable Not Being Returned</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/historic-process-variable-not-being-returned/m-p/196330#M149460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The even weirder part is if I ask for the variable by name I do get the value I am looking for: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://blqadb3.ls.cbn/restactiviti/service/history/historic-variable-instances?variableName=serialNumber&amp;amp;processInstanceId=701" rel="nofollow noopener noreferrer"&gt;https://blqadb3.ls.cbn/restactiviti/service/history/historic-variable-instances?variableName=serialNumber&amp;amp;processInstanceId=701&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{"data":[{"id":"727","processInstanceId":"701","processInstanceUrl":"&lt;/SPAN&gt;&lt;A href="https://blqadb3.ls.cbn/restactiviti/service/history/historic-process-instances/701%22,%22taskId%22:null,%22variable%22:{%22name%22:%22serialNumber%22,%22type%22:%22string%22,%22value%22:%22A%22,%22scope%22:null" rel="nofollow noopener noreferrer"&gt;https://blqadb3.ls.cbn/restactiviti/service/history/historic-process-instances/701','taskId':null,'variable':{'name':'serialNumber','type':'string','value':'A','scope':null&lt;/A&gt;&lt;SPAN&gt;}}],"total":1,"start":0,"sort":"variableName","order":"asc","size":1}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the end this is what I really need but I am still confused as to why this variable isn't returned in the complete list. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 20:06:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/historic-process-variable-not-being-returned/m-p/196330#M149460</guid>
      <dc:creator>bcymet</dc:creator>
      <dc:date>2014-06-20T20:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Historic Process Variable Not Being Returned</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/historic-process-variable-not-being-returned/m-p/196331#M149461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This confuses me too … there is no filtering being done in the query!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could always enhance the log level on the engine side, and see which SQL query is being executed for that call.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2014 14:13:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/historic-process-variable-not-being-returned/m-p/196331#M149461</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-06-27T14:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: Historic Process Variable Not Being Returned</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/historic-process-variable-not-being-returned/m-p/196332#M149462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was having the same problem and found this topic. However, I was trying to get binary data and I found the solution in the Alfresco documentation: &lt;/SPAN&gt;&lt;A href="http://docs.alfresco.com/activiti/topics/getTheBinaryDataForAHistoricProcessInstanceVariable.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/activiti/topics/getTheBinaryDataForAHistoricProcessInstanceVariable.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Solution: GET history/historic-process-instances/{processInstanceId}/variables/{variableName}/data&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 13:30:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/historic-process-variable-not-being-returned/m-p/196332#M149462</guid>
      <dc:creator>marcuss</dc:creator>
      <dc:date>2015-02-26T13:30:29Z</dc:date>
    </item>
  </channel>
</rss>

