<?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: HistoricVariableInstance add execution variables in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/historicvariableinstance-add-execution-variables/m-p/242096#M195226</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you Martin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I followed the instructions in the attached file for migration I resolved my issue but I don't want to do this in production environment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was hoping to have a legal way to do that but …. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For me the issue is finished. Thank you again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 12:33:38 GMT</pubDate>
    <dc:creator>lewad</dc:creator>
    <dc:date>2016-06-15T12:33:38Z</dc:date>
    <item>
      <title>HistoricVariableInstance add execution variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/historicvariableinstance-add-execution-variables/m-p/242090#M195220</link>
      <description>First I do following: List&amp;lt;HistoricVariableInstance&amp;gt; hvi = processEngine.getHistoryService().createHistoricVariableInstanceQuery().processInstanceId(htask.getProcessInstanceId()).list();Then check if some variable exist.If that variable is missing(in my case i try to repaired old tasks executi</description>
      <pubDate>Fri, 10 Jun 2016 14:45:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/historicvariableinstance-add-execution-variables/m-p/242090#M195220</guid>
      <dc:creator>lewad</dc:creator>
      <dc:date>2016-06-10T14:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: HistoricVariableInstance add execution variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/historicvariableinstance-add-execution-variables/m-p/242091#M195221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Leward,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I do not see the reason why to change the history.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you provide use case?&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>Mon, 13 Jun 2016 08:18:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/historicvariableinstance-add-execution-variables/m-p/242091#M195221</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-06-13T08:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: HistoricVariableInstance add execution variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/historicvariableinstance-add-execution-variables/m-p/242092#M195222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your reply Martin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I will try to explain my situation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We have a group with members. Each member processes tasks. We generate and task one and the same thing to all group members (for example if we have a group ADMINS (angel, martin, peter) and&amp;nbsp; a customer creates a task- we generate 3 tasks). When some of the users approve&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;one of these tasks he can view it. Other users can't see the task anymore.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;They should be view all task in group &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For that purpose we created a database view where we follow the status of each task. The calculation is based on some execution variable which is the same for all 3 tasks. For newly created tasks everything is fine but i want to update already finished task executions.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 05:26:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/historicvariableinstance-add-execution-variables/m-p/242092#M195222</guid>
      <dc:creator>lewad</dc:creator>
      <dc:date>2016-06-14T05:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: HistoricVariableInstance add execution variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/historicvariableinstance-add-execution-variables/m-p/242093#M195223</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 think I have understood your use case, but I do not see any need to update already finished task execution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;i want to update already finished task executions.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Why?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From my point of view you can add variable to the currently running execution and not to the already finished one.&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 Jun 2016 06:41:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/historicvariableinstance-add-execution-variables/m-p/242093#M195223</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-06-14T06:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: HistoricVariableInstance add execution variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/historicvariableinstance-add-execution-variables/m-p/242094#M195224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It was my mistake that this variable&amp;nbsp; wasn't added when the system was started&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As I said in my first comment I am trying to repair the old records in the database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have to create a report for a past period in which the execution variable does not exist.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For all old records I can add a variable with value 1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;//21.01.2016&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;task1 execution1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;task2 execution1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;task3 execution1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;task4 execution2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;task5 execution2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;task6 execution2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;task7 execution3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;task8 execution3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;task9 execution3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;//21.02.2016&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;task10 execution5 wf_finsihed=1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;task11 execution6 wf_finsihed=1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;task12 execution7 wf_finsihed=1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;task13 execution8 wf_finsihed=0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;task14 execution9 wf_finsihed=0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;task15 execution10 wf_finsihed=0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;task16 execution11 wf_finsihed=1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;task17 execution12 wf_finsihed=1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;task18 execution13 wf_finsihed=1&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 08:50:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/historicvariableinstance-add-execution-variables/m-p/242094#M195224</guid>
      <dc:creator>lewad</dc:creator>
      <dc:date>2016-06-14T08:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: HistoricVariableInstance add execution variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/historicvariableinstance-add-execution-variables/m-p/242095#M195225</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 understand now. You can not change the history through activiti API. It is not allowed and it makes sense from my point of view. What you can do is to add variable to the DB manually. You are changing the history which has not be allowed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The information when the process instance was finished is already in the history tables - may be you can base the reporting on this information instead.&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>Wed, 15 Jun 2016 08:32:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/historicvariableinstance-add-execution-variables/m-p/242095#M195225</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-06-15T08:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: HistoricVariableInstance add execution variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/historicvariableinstance-add-execution-variables/m-p/242096#M195226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you Martin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I followed the instructions in the attached file for migration I resolved my issue but I don't want to do this in production environment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was hoping to have a legal way to do that but …. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For me the issue is finished. Thank you again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 12:33:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/historicvariableinstance-add-execution-variables/m-p/242096#M195226</guid>
      <dc:creator>lewad</dc:creator>
      <dc:date>2016-06-15T12:33:38Z</dc:date>
    </item>
  </channel>
</rss>

