<?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 HistoryService in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-historyservice/m-p/310254#M263384</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you.&amp;nbsp; I injected the activitiHistoryService straight into my WebService in my bean definition.&amp;nbsp; I needed the history service to get access to some process variables for reporting. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;These are variables from completed workflows.&amp;nbsp; I could not find any way to get at them through the Alfresco WorkflowService.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you know a better way, please tell me.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Mar 2014 05:38:58 GMT</pubDate>
    <dc:creator>mangar</dc:creator>
    <dc:date>2014-03-17T05:38:58Z</dc:date>
    <item>
      <title>Activiti HistoryService</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-historyservice/m-p/310252#M263382</link>
      <description>How do I access the Activiti HistoryService from an Alfresco WebService?&amp;nbsp; I don't see it in the list of services in the Serviceregistry.&amp;nbsp; Do I need to inject it somehow?</description>
      <pubDate>Sat, 15 Mar 2014 03:42:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-historyservice/m-p/310252#M263382</guid>
      <dc:creator>mangar</dc:creator>
      <dc:date>2014-03-15T03:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti HistoryService</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-historyservice/m-p/310253#M263383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;you should not need to use the Activiti HistoryService directly. Simply use the Alfresco WorkflowService to get data from completed tasks. The queryTasks operation can be used to retrieve historic tasks as well without going to the low-level HistoryService, and is available via the ServiceRegistry.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In case you &amp;lt;b&amp;gt;really, really&amp;lt;/b&amp;gt; need the Activiti HistoryService directly, you can use the generic getService() operation in the service registry and use a QName with localName = "activitiHistoryService" to retrieve it. I'd advise against using this from an Alfresco "WebService" (in a workflow?) as I know there can be various issues with side-effects due to Activiti sort-of having its own SQL / txn context, which - as I have experienced - may clash with the Alfresco context if used other than how Alfresco integrated the Activiti services into the WorkflowService.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Mar 2014 15:45:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-historyservice/m-p/310253#M263383</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2014-03-16T15:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti HistoryService</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-historyservice/m-p/310254#M263384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you.&amp;nbsp; I injected the activitiHistoryService straight into my WebService in my bean definition.&amp;nbsp; I needed the history service to get access to some process variables for reporting. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;These are variables from completed workflows.&amp;nbsp; I could not find any way to get at them through the Alfresco WorkflowService.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you know a better way, please tell me.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2014 05:38:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-historyservice/m-p/310254#M263384</guid>
      <dc:creator>mangar</dc:creator>
      <dc:date>2014-03-17T05:38:58Z</dc:date>
    </item>
  </channel>
</rss>

