<?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: Getting the assigner name in a task in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/getting-the-assigner-name-in-a-task/m-p/178982#M132112</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;to get exact taskId you have to trace activiti events (org.activiti.engine.delegate.event.ActivitiEvent) from the history. (You can replay whole process instance to get taskId - but I think it is not necessary.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For most of the cases processInstanceId and previous task name will be enough to get previous task assignee.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Another (more straightforward) possibility is to store previous task assignee in process instance variable. (add task listener to each usertask)&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, 23 Sep 2014 06:32:10 GMT</pubDate>
    <dc:creator>martin_grofcik</dc:creator>
    <dc:date>2014-09-23T06:32:10Z</dc:date>
    <item>
      <title>Getting the assigner name in a task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-the-assigner-name-in-a-task/m-p/178978#M132108</link>
      <description>I am developing a vacation request template where employee (kermit) makes a leave request. The request then shows up in manager's (gonzo) task list. We will be showing the task list of gonzo by using rest call. I have to show who has sent this leave request in the task list. So basically I want to t</description>
      <pubDate>Mon, 22 Sep 2014 09:35:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-the-assigner-name-in-a-task/m-p/178978#M132108</guid>
      <dc:creator>tap007</dc:creator>
      <dc:date>2014-09-22T09:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the assigner name in a task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-the-assigner-name-in-a-task/m-p/178979#M132109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just to add , in the JSON response description contains "kermit would like to take 4 day(s) of vacation (Motivation: eeeee)." but this forces developer creating template to write such information in the template. We need the framework to be capable of telling who assigned this task to the current assignee.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 10:26:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-the-assigner-name-in-a-task/m-p/178979#M132109</guid>
      <dc:creator>tap007</dc:creator>
      <dc:date>2014-09-22T10:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the assigner name in a task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-the-assigner-name-in-a-task/m-p/178980#M132110</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;Who has assigned this task to the current assignee can be tricky (it can be automatically generated). To get assignee of the previous task you can query history. In your special case you can use initiator (&lt;/SPAN&gt;&lt;A href="http://www.activiti.org/userguide/#bpmnStartEvents" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/userguide/#bpmnStartEvents&lt;/A&gt;&lt;SPAN&gt;)&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, 22 Sep 2014 13:01:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-the-assigner-name-in-a-task/m-p/178980#M132110</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-09-22T13:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the assigner name in a task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-the-assigner-name-in-a-task/m-p/178981#M132111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Martin. You are right in this special case it will be initiator. But I have to handle all the cases, at any point in a multi-step process I have to show who has assigned the task. To query history I will need the task ID of the previous task, how can I find the task id of the previous task.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 15:52:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-the-assigner-name-in-a-task/m-p/178981#M132111</guid>
      <dc:creator>tap007</dc:creator>
      <dc:date>2014-09-22T15:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the assigner name in a task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-the-assigner-name-in-a-task/m-p/178982#M132112</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;to get exact taskId you have to trace activiti events (org.activiti.engine.delegate.event.ActivitiEvent) from the history. (You can replay whole process instance to get taskId - but I think it is not necessary.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For most of the cases processInstanceId and previous task name will be enough to get previous task assignee.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Another (more straightforward) possibility is to store previous task assignee in process instance variable. (add task listener to each usertask)&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, 23 Sep 2014 06:32:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-the-assigner-name-in-a-task/m-p/178982#M132112</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-09-23T06:32:10Z</dc:date>
    </item>
  </channel>
</rss>

