<?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 handling attached files from a process in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/handling-attached-files-from-a-process/m-p/82049#M54980</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After a file has been attached to an activiti process how do you go about getting the file from within the JavaDelegate? Is there a way to get a reference to the TaskServer from within the JavaDelegate?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Aug 2012 17:43:24 GMT</pubDate>
    <dc:creator>robmckinnon</dc:creator>
    <dc:date>2012-08-03T17:43:24Z</dc:date>
    <item>
      <title>handling attached files from a process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/handling-attached-files-from-a-process/m-p/82049#M54980</link>
      <description>After a file has been attached to an activiti process how do you go about getting the file from within the JavaDelegate? Is there a way to get a reference to the TaskServer from within the JavaDelegate?</description>
      <pubDate>Fri, 03 Aug 2012 17:43:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/handling-attached-files-from-a-process/m-p/82049#M54980</guid>
      <dc:creator>robmckinnon</dc:creator>
      <dc:date>2012-08-03T17:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: handling attached files from a process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/handling-attached-files-from-a-process/m-p/82050#M54981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I found the solution if anyone is curious…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I ended up leveraging spring injection to get the TaskService&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in the war application configuration file&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;bean id="getAttachmentClass" class="com.myco.activiti.poc.GetAttachmentClass"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="taskService" ref="taskService"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/bean&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the bpmn20 file I used an expresion for the service task…. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#{getAttachmentClass.execute(execution)}&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Aug 2012 03:13:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/handling-attached-files-from-a-process/m-p/82050#M54981</guid>
      <dc:creator>robmckinnon</dc:creator>
      <dc:date>2012-08-04T03:13:39Z</dc:date>
    </item>
  </channel>
</rss>

