<?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 how to get task information in ActivitiEventListener by ActivitiEvent in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-task-information-in-activitieventlistener-by/m-p/191887#M145017</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 create some tasks by TaskService, and create a ActivitiEventListener to listen TASK_CREATED event. and wish to inform candidates with this task summary.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but on &lt;/SPAN&gt;&lt;PRE class="language-java line-numbers"&gt;&lt;CODE&gt;public void onEvent(ActivitiEvent event){}&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; method, event only exposes &amp;lt;blockcode&amp;gt;type, executionId, processInstanceId and processDefinitionId&amp;lt;/blockcode&amp;gt;, no information about the task which dispatched&amp;nbsp; this event.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;is there any method to get task information like task id in ActivitiEventListener?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you~&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jul 2015 09:37:44 GMT</pubDate>
    <dc:creator>smartxiaofish</dc:creator>
    <dc:date>2015-07-23T09:37:44Z</dc:date>
    <item>
      <title>how to get task information in ActivitiEventListener by ActivitiEvent</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-task-information-in-activitieventlistener-by/m-p/191887#M145017</link>
      <description>Hi,I create some tasks by TaskService, and create a ActivitiEventListener to listen TASK_CREATED event. and wish to inform candidates with this task summary.but on public void onEvent(ActivitiEvent event){}‍ method, event only exposes &amp;lt;blockcode&amp;gt;type, executionId, processInstanceId and process</description>
      <pubDate>Thu, 23 Jul 2015 09:37:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-task-information-in-activitieventlistener-by/m-p/191887#M145017</guid>
      <dc:creator>smartxiaofish</dc:creator>
      <dc:date>2015-07-23T09:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to get task information in ActivitiEventListener by ActivitiEvent</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-task-information-in-activitieventlistener-by/m-p/191888#M145018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You have to cact the ActivitiEvent to the correct subclass, so you have access to the TaskEntity.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 08:22:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-task-information-in-activitieventlistener-by/m-p/191888#M145018</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-07-28T08:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to get task information in ActivitiEventListener by ActivitiEvent</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-task-information-in-activitieventlistener-by/m-p/191889#M145019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is no event for HistoricTaskInstance created .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How can i get the start time / end time etc details in ActivitiEventListener ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't want to call new Date() to get time during TASK_CREATED event as that information may be slightly out of sync with data stored in act_hi tables .&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 07:16:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-task-information-in-activitieventlistener-by/m-p/191889#M145019</guid>
      <dc:creator>piyush_kaizen</dc:creator>
      <dc:date>2016-09-21T07:16:44Z</dc:date>
    </item>
  </channel>
</rss>

