<?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 dueDate in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/duedate/m-p/114867#M80943</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I used taskListener to set due date such as below,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;activiti:taskListener event="create" expression="${execution.setDueDate('dueDate',${date1})}"&amp;gt;&amp;lt;/activiti:taskListener&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) I have send 2 parameter named date1 and daysTarget so that my dueDate should be date1+daysTarget. Let say,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;date1 value is 21/11/2012 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;daysTarget value is 5&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So my dueDate should be 26/11/2012.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I try this &amp;lt;activiti:taskListener event="create" expression="${execution.setDueDate('dueDate',${date1}+${daysTarget})}"&amp;gt;&amp;lt;/activiti:taskListener&amp;gt; but i got error and i think i'm not doing it right.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have any idea?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Is it possible if i want to use current date (or maybe create_time_ value in ACT_RU_TASK) as a value of date1 to set the dueDate. I don't have any idea on how implement it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I really hope if someone can help me as i have been thinking for this solution nearly a week. I have refer to activiti user guide and google but still don't find answer for it. Furthermore i'm not really good in java. Your help is very much appreciated. Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Nov 2012 19:51:07 GMT</pubDate>
    <dc:creator>redheart</dc:creator>
    <dc:date>2012-11-20T19:51:07Z</dc:date>
    <item>
      <title>dueDate</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/duedate/m-p/114867#M80943</link>
      <description>I used taskListener to set due date such as below,&amp;lt;activiti:taskListener event="create" expression="${execution.setDueDate('dueDate',${date1})}"&amp;gt;&amp;lt;/activiti:taskListener&amp;gt;1) I have send 2 parameter named date1 and daysTarget so that my dueDate should be date1+daysTarget. Let say,date1 valu</description>
      <pubDate>Tue, 20 Nov 2012 19:51:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/duedate/m-p/114867#M80943</guid>
      <dc:creator>redheart</dc:creator>
      <dc:date>2012-11-20T19:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: dueDate</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/duedate/m-p/114868#M80944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;1)&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;The execution doesn't have a duedate, use 'task' instead.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;2)&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Just add new java.util.Date() there. That gives you the current time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 08:25:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/duedate/m-p/114868#M80944</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2012-11-21T08:25:09Z</dc:date>
    </item>
  </channel>
</rss>

