<?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: HistoricVariableUpdate.getTaskId() always returns null in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/historicvariableupdate-gettaskid-always-returns-null/m-p/107483#M75287</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;Yeah that certainly makes sense. I don't think we store that info currently.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What you could do is check the update time with the start and end time of the tasks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But this is certainly a valid improvement request. Could you raise a JIRA?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jun 2012 14:09:34 GMT</pubDate>
    <dc:creator>trademak</dc:creator>
    <dc:date>2012-06-12T14:09:34Z</dc:date>
    <item>
      <title>HistoricVariableUpdate.getTaskId() always returns null</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/historicvariableupdate-gettaskid-always-returns-null/m-p/107480#M75284</link>
      <description>Dear all!I'm working on a Activiti 5.9 based platform (JBoss AS 7, Java EE 6, JSF 2, CDI, …) and would like to archive a process instance when it ends. This archive should include all process variables with their history information and also the tasks that were executed (history=full is set in activ</description>
      <pubDate>Wed, 30 May 2012 03:02:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/historicvariableupdate-gettaskid-always-returns-null/m-p/107480#M75284</guid>
      <dc:creator>naag</dc:creator>
      <dc:date>2012-05-30T03:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: HistoricVariableUpdate.getTaskId() always returns null</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/historicvariableupdate-gettaskid-always-returns-null/m-p/107481#M75285</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 don't understand your question. Why do you want a taskId in a HistoricVariableUpdate instance?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Why do you need this information? If you want an overview of user tasks then you should use the createHistoricTaskInstanceQuery method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2012 09:11:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/historicvariableupdate-gettaskid-always-returns-null/m-p/107481#M75285</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2012-06-01T09:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: HistoricVariableUpdate.getTaskId() always returns null</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/historicvariableupdate-gettaskid-always-returns-null/m-p/107482#M75286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tijs,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for your answer and sorry for my late reply (I was on vacation&amp;nbsp; &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;BR /&gt;&lt;SPAN&gt;For archiving and auditing purposes, I need to know the task that triggered the variable update. I need the taskId to see during which task a variable update actually happened. In my example above I have two user tasks "Enter information" and "Update information".&amp;nbsp; Imagine a situation during audit where the auditor needs to know who entered a particular piece of information in a process variable. If we could see the task during which a variable update took place, then we could also retrieve the information about people who were assigned to those tasks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it clear?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 05:09:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/historicvariableupdate-gettaskid-always-returns-null/m-p/107482#M75286</guid>
      <dc:creator>naag</dc:creator>
      <dc:date>2012-06-12T05:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: HistoricVariableUpdate.getTaskId() always returns null</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/historicvariableupdate-gettaskid-always-returns-null/m-p/107483#M75287</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;Yeah that certainly makes sense. I don't think we store that info currently.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What you could do is check the update time with the start and end time of the tasks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But this is certainly a valid improvement request. Could you raise a JIRA?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 14:09:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/historicvariableupdate-gettaskid-always-returns-null/m-p/107483#M75287</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2012-06-12T14:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: HistoricVariableUpdate.getTaskId() always returns null</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/historicvariableupdate-gettaskid-always-returns-null/m-p/107484#M75288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tijs,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;alright, I will raise the JIRA and also investigate if start/end time provide a viable solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your input!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 18:40:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/historicvariableupdate-gettaskid-always-returns-null/m-p/107484#M75288</guid>
      <dc:creator>naag</dc:creator>
      <dc:date>2012-06-12T18:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: HistoricVariableUpdate.getTaskId() always returns null</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/historicvariableupdate-gettaskid-always-returns-null/m-p/107485#M75289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="https://jira.codehaus.org/browse/ACT-1248" rel="nofollow noopener noreferrer"&gt;ACT-1248&lt;/A&gt;&lt;SPAN&gt; has been created. Hopefully something can be worked out&amp;nbsp; &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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 07:02:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/historicvariableupdate-gettaskid-always-returns-null/m-p/107485#M75289</guid>
      <dc:creator>naag</dc:creator>
      <dc:date>2012-06-13T07:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: HistoricVariableUpdate.getTaskId() always returns null</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/historicvariableupdate-gettaskid-always-returns-null/m-p/107486#M75290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For the record: the TASK_ID_ field is only used when the HistoricDetail is task-local variable update. So for process-variables, this does NOT indicate which task was active at the time the process-variable was set. This field is the single indicator for task-local variables and cannot be reused for the proposed functionality.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, the ACT_INST_ID_ can be inspected to see what activity was active at that time. Based on the ACT_ID_ you can at least know the ID of the task in your BPMN. Using this, you can query for the actual HistoricTaskInstance (or multiple, if task was repeated) associated to activity.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 09:03:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/historicvariableupdate-gettaskid-always-returns-null/m-p/107486#M75290</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-06-13T09:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: HistoricVariableUpdate.getTaskId() always returns null</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/historicvariableupdate-gettaskid-always-returns-null/m-p/107487#M75291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The issue has been solved by following Frederik's advice. Now I have a custom SQL query via JDBC to the Activiti database, which joins ACT_HI_DETAIL with ACT_HI_ACTINST. From there I can read everything I need so far. Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 07:58:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/historicvariableupdate-gettaskid-always-returns-null/m-p/107487#M75291</guid>
      <dc:creator>naag</dc:creator>
      <dc:date>2012-06-15T07:58:30Z</dc:date>
    </item>
  </channel>
</rss>

