<?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 Iterating parameters in email in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/iterating-parameters-in-email/m-p/83033#M55721</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 am passing a hashmap through my process, which contains products.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;E.g. it could be described similarly like this: paramsHashMap.productsArray = [{id:1, name:blub, qty: 15},{id:2 ,name:bla, qty:14}].&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This hashmap is injected into an email task. How can I iterate an array within an html email body such as:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;html&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;body&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello ${customer},&amp;lt;br/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;br/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Your order contained ${listofproducts}&amp;lt;br/&amp;gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/body&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do I have to create a service task first and create a concatenated String and pass it on,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or can I do this somehow within the email itself?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tobi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Mar 2012 22:57:32 GMT</pubDate>
    <dc:creator>tobiasw_</dc:creator>
    <dc:date>2012-03-26T22:57:32Z</dc:date>
    <item>
      <title>Iterating parameters in email</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/iterating-parameters-in-email/m-p/83033#M55721</link>
      <description>Hi,I am passing a hashmap through my process, which contains products.E.g. it could be described similarly like this: paramsHashMap.productsArray = [{id:1, name:blub, qty: 15},{id:2 ,name:bla, qty:14}].This hashmap is injected into an email task. How can I iterate an array within an html email body</description>
      <pubDate>Mon, 26 Mar 2012 22:57:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/iterating-parameters-in-email/m-p/83033#M55721</guid>
      <dc:creator>tobiasw_</dc:creator>
      <dc:date>2012-03-26T22:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Iterating parameters in email</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/iterating-parameters-in-email/m-p/83034#M55722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Or implement a custom mail service task that uses a more advanced templating mechanism like freemarker, velocity, jsf&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 06:41:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/iterating-parameters-in-email/m-p/83034#M55722</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2012-03-27T06:41:57Z</dc:date>
    </item>
  </channel>
</rss>

