<?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: ACT_GE_BYTEARRAY table records getting deleted in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/act-ge-bytearray-table-records-getting-deleted/m-p/190454#M143584</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tas,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Exactly as you said, You should be able to get process instance variables from History. (e.g. &lt;/SPAN&gt;&lt;CODE&gt;org.activiti.standalone.history.FullHistoryTest#testVariableUpdates&lt;/CODE&gt;&lt;SPAN&gt;The described behavior is strange. Could you recognize which variables are lost? (jUnit test?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Oct 2014 06:41:02 GMT</pubDate>
    <dc:creator>martin_grofcik</dc:creator>
    <dc:date>2014-10-14T06:41:02Z</dc:date>
    <item>
      <title>ACT_GE_BYTEARRAY table records getting deleted</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/act-ge-bytearray-table-records-getting-deleted/m-p/190451#M143581</link>
      <description>We have strangely observed that records in ACT_GE_BYTEARRAY table have been deleted for few process instance ids.I am not sure how can this happen without any delete api being called.Observations:1. All the process instances for which this problem is found have completed their lifecycle.2. there are</description>
      <pubDate>Sun, 12 Oct 2014 11:04:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/act-ge-bytearray-table-records-getting-deleted/m-p/190451#M143581</guid>
      <dc:creator>tauseefjanvekar</dc:creator>
      <dc:date>2014-10-12T11:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: ACT_GE_BYTEARRAY table records getting deleted</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/act-ge-bytearray-table-records-getting-deleted/m-p/190452#M143582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tas,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All runtime variables (it&amp;nbsp; includes variables stored in ACT_GE_BYTEARRAY) should be deleted when process instance is finished. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you reproduce the issue in the jUnit test please?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.activiti.org/content/sticky-how-write-unit-test" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/content/sticky-how-write-unit-test&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 06:18:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/act-ge-bytearray-table-records-getting-deleted/m-p/190452#M143582</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-10-13T06:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: ACT_GE_BYTEARRAY table records getting deleted</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/act-ge-bytearray-table-records-getting-deleted/m-p/190453#M143583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Martin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I agree that all runtime variables should get deleted when process instance is finished.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I guess the ACT_GE_BYTEARRAY variables do not get deleted when any process instance is completed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We are using a older version of Activiti 5.14.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Actually we are tracking processes that have completed and we need to show what values we used when the process instance completed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We are getting this information from ACT_HI_VARINST table. But for few BYTEARRAY_IDs the object returned is null because the value is not present in ACT_GE_BYTEARRAY table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I upgrade to higher version and the ACT_GE_BYTEARRAY table entries get deleted after I complete a process, Is there a way I can get reference to the bytearray ids that the completed process instance id used.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tas.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2014 06:00:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/act-ge-bytearray-table-records-getting-deleted/m-p/190453#M143583</guid>
      <dc:creator>tauseefjanvekar</dc:creator>
      <dc:date>2014-10-14T06:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: ACT_GE_BYTEARRAY table records getting deleted</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/act-ge-bytearray-table-records-getting-deleted/m-p/190454#M143584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tas,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Exactly as you said, You should be able to get process instance variables from History. (e.g. &lt;/SPAN&gt;&lt;CODE&gt;org.activiti.standalone.history.FullHistoryTest#testVariableUpdates&lt;/CODE&gt;&lt;SPAN&gt;The described behavior is strange. Could you recognize which variables are lost? (jUnit test?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2014 06:41:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/act-ge-bytearray-table-records-getting-deleted/m-p/190454#M143584</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-10-14T06:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: ACT_GE_BYTEARRAY table records getting deleted</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/act-ge-bytearray-table-records-getting-deleted/m-p/190455#M143585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Martin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We finally found out the root cause.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If we try to insert a value in ACT_HI_VARINST that already present then this issue happens.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Example we have a variable with id 12345 that has an associated bytearray_id = 123456 in both active and history table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;HI_VARINST_ID=12345.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;HI_VARINST_BYTEARRAY_ID=123456.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RU_VARIABLE_ID=12345. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RU_VARIABLE_BYTEARRAY_ID=123456.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When we try to set a different value to this variable then activiti tries to insert the active record into history table, but as the record already exists, activiti strangely deletes the GE_BYTEARRAY record with ID=123456.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Coming to the reason why we had history and active variable table with the same id - We had given a datafix to restore few variables from history table but forgot to delete the history table record&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, 14 Oct 2014 07:59:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/act-ge-bytearray-table-records-getting-deleted/m-p/190455#M143585</guid>
      <dc:creator>tauseefjanvekar</dc:creator>
      <dc:date>2014-10-14T07:59:20Z</dc:date>
    </item>
  </channel>
</rss>

