<?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 Expressions in attachment in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/expressions-in-attachment/m-p/246167#M199297</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In our process, we want to send attachments in the email (activiti email task). We will have attachment templates that will have expressions. Can activiti resolve expresssions in the attachment?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Or we have to parse the file and resolve the expressions and send it to email task?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Feb 2016 11:25:29 GMT</pubDate>
    <dc:creator>ashitre</dc:creator>
    <dc:date>2016-02-09T11:25:29Z</dc:date>
    <item>
      <title>Expressions in attachment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/expressions-in-attachment/m-p/246167#M199297</link>
      <description>In our process, we want to send attachments in the email (activiti email task). We will have attachment templates that will have expressions. Can activiti resolve expresssions in the attachment?Or we have to parse the file and resolve the expressions and send it to email task?</description>
      <pubDate>Tue, 09 Feb 2016 11:25:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/expressions-in-attachment/m-p/246167#M199297</guid>
      <dc:creator>ashitre</dc:creator>
      <dc:date>2016-02-09T11:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions in attachment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/expressions-in-attachment/m-p/246168#M199298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, Attachments are just files for Activiti … it doesn't allow for expression (plus, it would only work for text-format attachments)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 08:57:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/expressions-in-attachment/m-p/246168#M199298</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-02-11T08:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions in attachment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/expressions-in-attachment/m-p/246169#M199299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have another query about Timer intermediate catch event. We need to send a mail 2 days prior to end date (so date-2). Is it possible to do it with this event.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I set Time date as ${end_date - 2}, but it fails with below exception&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: org.activiti.engine.impl.javax.el.ELException: Cannot coerce '2016-02-14' to class java.lang.Long&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.activiti.engine.impl.juel.TypeConverterImpl.coerceToLong(TypeConverterImpl.java:176) [activiti-engine-5.19.0.jar:5.19.0]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems that it always consider left operand to be long for substraction.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any other way to handle this scenario? Also, if I update the end_date in between, will this catching event will wait for new date or it will still consider old date?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 13:24:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/expressions-in-attachment/m-p/246169#M199299</guid>
      <dc:creator>ashitre</dc:creator>
      <dc:date>2016-02-12T13:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions in attachment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/expressions-in-attachment/m-p/246170#M199300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Your expression is not a valid expression with the reason mentioned in the exception. You could implement a Helper class or a Spring bean that does some date calculation for you, and returns a valid date.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 08:26:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/expressions-in-attachment/m-p/246170#M199300</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2016-02-15T08:26:17Z</dc:date>
    </item>
  </channel>
</rss>

