<?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 mail task template in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/mail-task-template/m-p/57409#M34899</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;Any tips on how to use a common template for more than one mail task? For example using FreeMarker templates. I didn't see anything in the user guide so perhaps it is not supported yet?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks, tim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Nov 2011 17:48:50 GMT</pubDate>
    <dc:creator>tstephen</dc:creator>
    <dc:date>2011-11-17T17:48:50Z</dc:date>
    <item>
      <title>mail task template</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mail-task-template/m-p/57409#M34899</link>
      <description>Hi,Any tips on how to use a common template for more than one mail task? For example using FreeMarker templates. I didn't see anything in the user guide so perhaps it is not supported yet?&amp;nbsp; thanks, tim</description>
      <pubDate>Thu, 17 Nov 2011 17:48:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mail-task-template/m-p/57409#M34899</guid>
      <dc:creator>tstephen</dc:creator>
      <dc:date>2011-11-17T17:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: mail task template</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mail-task-template/m-p/57410#M34900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can use an expression to load the template. So I could imagine a scenario where you have something like a CDI/Spring bean you reference from the process and that bean loads the freemarker template, evaluates it and returns a string.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;–&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In adition, you can always subclass org.activiti.engine.impl.bpmn.behavior.MailActivityBehavior add your template there… &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You would then reference your custom implementation in the process using sth like&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;serviceTask activiti:class="my.custom.MailBehavior" /&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but that requires knowledge of internal "stuff" &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;– &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could also add freemarker as scripting engine (probably) but that would not solve the problem of having a common template for all mail tasks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2011 08:48:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mail-task-template/m-p/57410#M34900</guid>
      <dc:creator>meyerd</dc:creator>
      <dc:date>2011-11-18T08:48:35Z</dc:date>
    </item>
  </channel>
</rss>

