<?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: How to find out which user actually completed a user task? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-find-out-which-user-actually-completed-a-user-task/m-p/122574#M86319</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Frederik!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Apr 2013 07:52:31 GMT</pubDate>
    <dc:creator>avalde</dc:creator>
    <dc:date>2013-04-19T07:52:31Z</dc:date>
    <item>
      <title>How to find out which user actually completed a user task?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-find-out-which-user-actually-completed-a-user-task/m-p/122571#M86316</link>
      <description>Is information about which user that actually completed a user task logged to the Activiti tables? If so, is it available using the API? I've looked both in the documentation and in the database tables, but I haven't managed to find it.The assignee isn't necessarily the actual performer.</description>
      <pubDate>Wed, 17 Apr 2013 10:36:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-find-out-which-user-actually-completed-a-user-task/m-p/122571#M86316</guid>
      <dc:creator>avalde</dc:creator>
      <dc:date>2013-04-17T10:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out which user actually completed a user task?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-find-out-which-user-actually-completed-a-user-task/m-p/122572#M86317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If i'm not wrong, you have to use &amp;lt;code&amp;gt;historyService.createHistoricTaskInstanceQuery().finished().list()&amp;lt;/code&amp;gt;.&amp;nbsp; It's a query class so you can add filters like &amp;lt;code&amp;gt;taskAssignee&amp;lt;/code&amp;gt; (user id), etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Take a look into: &lt;/SPAN&gt;&lt;A href="http://www.activiti.org/javadocs/org/activiti/engine/history/HistoricTaskInstanceQuery.html" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/javadocs/org/activiti/engine/history/HistoricTaskInstanceQuery.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2013 14:18:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-find-out-which-user-actually-completed-a-user-task/m-p/122572#M86317</guid>
      <dc:creator>jotapdiez</dc:creator>
      <dc:date>2013-04-17T14:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out which user actually completed a user task?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-find-out-which-user-actually-completed-a-user-task/m-p/122573#M86318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is no logging of the user who actually completed the task. If you want to make sure the assignee is always the person completing the task, you can:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;Add "setAssignee()" before completing the task, based on the logged in user, to the service-layer you control that is calling the Activiti API.&lt;/LI&gt;&lt;LI&gt;Add a task-listener to the task (or to all tasks, using a BPMNParseHandler) that is triggered on the "complete" event of the task. In this listener, you can either throw an exception (not completing the task if logged in user in not the assignee) or set the assignee on the passed in DelegateTask (will be recorded in history)&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2013 07:45:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-find-out-which-user-actually-completed-a-user-task/m-p/122573#M86318</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-04-19T07:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out which user actually completed a user task?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-find-out-which-user-actually-completed-a-user-task/m-p/122574#M86319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Frederik!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2013 07:52:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-find-out-which-user-actually-completed-a-user-task/m-p/122574#M86319</guid>
      <dc:creator>avalde</dc:creator>
      <dc:date>2013-04-19T07:52:31Z</dc:date>
    </item>
  </channel>
</rss>

