<?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: Activiti Assignments History in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-assignments-history/m-p/19861#M9213</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;That feature is currently not planned for any upcoming release. As a workaround, you could use a variable and store the assignee in. When you set the historyLevel to full, the HistoricVariableUpdates will be available for the task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can hook up a TaskListener to your task, which is called when the assignee is changed:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&amp;lt;userTask id="task1" name="My task" &amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;extensionElements&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:taskListener event="assignment" class="org.activiti.HistoryAssignmentHandler" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/extensionElements&amp;gt;&lt;BR /&gt;&amp;lt;/userTask&amp;gt;&lt;/CODE&gt;&lt;CODE&gt;&lt;BR /&gt;public class HistoryAssignmentHandler implements TaskListener {&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; public void notify(DelegateTask delegateTask) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; delegateTask.setVariableLocal("assigneeHistory",delegateTask.getAssignee());&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;}&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Jan 2011 08:27:32 GMT</pubDate>
    <dc:creator>frederikherema1</dc:creator>
    <dc:date>2011-01-19T08:27:32Z</dc:date>
    <item>
      <title>Activiti Assignments History</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-assignments-history/m-p/19860#M9212</link>
      <description>Hello,I'm trying to use activiti's history as an audit storage for the changes in the Process Instances/Task. I currently have the history level set to full and I have the process instance, task and variable changes. However I'm missing the&amp;nbsp; Assignee changes. I believe this will be logged by org.act</description>
      <pubDate>Mon, 17 Jan 2011 21:35:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-assignments-history/m-p/19860#M9212</guid>
      <dc:creator>mbuzila</dc:creator>
      <dc:date>2011-01-17T21:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti Assignments History</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-assignments-history/m-p/19861#M9213</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;That feature is currently not planned for any upcoming release. As a workaround, you could use a variable and store the assignee in. When you set the historyLevel to full, the HistoricVariableUpdates will be available for the task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can hook up a TaskListener to your task, which is called when the assignee is changed:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&amp;lt;userTask id="task1" name="My task" &amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;extensionElements&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:taskListener event="assignment" class="org.activiti.HistoryAssignmentHandler" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/extensionElements&amp;gt;&lt;BR /&gt;&amp;lt;/userTask&amp;gt;&lt;/CODE&gt;&lt;CODE&gt;&lt;BR /&gt;public class HistoryAssignmentHandler implements TaskListener {&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; public void notify(DelegateTask delegateTask) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; delegateTask.setVariableLocal("assigneeHistory",delegateTask.getAssignee());&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;}&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2011 08:27:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-assignments-history/m-p/19861#M9213</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-01-19T08:27:32Z</dc:date>
    </item>
  </channel>
</rss>

