<?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 Task, how? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/duedate-task-how/m-p/159512#M113543</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In some of my tasks I need to put a relative due date. Like "now + 1d", or "1d". I've seen in the Activiti Tutorial for this feature and saw about ISO8601. I tried with PT1H, PT60M, PT3D, but nothing works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the exception: &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-java line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;Caused by: org.activiti.engine.ActivitiException: couldn't resolve duedate: Invalid format: "PT1H"&lt;BR /&gt;java.lang.IllegalArgumentException: Invalid format: "PT1H"&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I'm missing?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks! &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Aug 2013 17:48:30 GMT</pubDate>
    <dc:creator>sfigueras</dc:creator>
    <dc:date>2013-08-13T17:48:30Z</dc:date>
    <item>
      <title>DueDate Task, how?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/duedate-task-how/m-p/159512#M113543</link>
      <description>Hi everyone,In some of my tasks I need to put a relative due date. Like "now + 1d", or "1d". I've seen in the Activiti Tutorial for this feature and saw about ISO8601. I tried with PT1H, PT60M, PT3D, but nothing works.This is the exception: Caused by: org.activiti.engine.ActivitiException: couldn't</description>
      <pubDate>Tue, 13 Aug 2013 17:48:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/duedate-task-how/m-p/159512#M113543</guid>
      <dc:creator>sfigueras</dc:creator>
      <dc:date>2013-08-13T17:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: DueDate Task, how?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/duedate-task-how/m-p/159513#M113544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Which version you are using and Due Date in user task u get this problem but in&amp;nbsp; timer events there is no problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Because before 5.12 in user task this dueDate is not accept directly in period format like PT1H,PT50M etc. Before u assign duedate u should convert into date format from&amp;nbsp; like&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;DateTime.now().plus(Period.parse(duedate)).toDate();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But from 5.13 onwards there is no problem because by default in activiti-engine-5.13.jar file there added this code in "DueDateBusinessCalender" class&amp;nbsp; (u want refer check the package org.activiti.engine.impl.calendar)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If u want check previous topics on this question refer &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.activiti.org/content/task-duedate-v-boundary-timer" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/content/task-duedate-v-boundary-timer&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.activiti.org/content/time-duration-support-user-task-due-date" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/content/time-duration-support-user-task-due-date&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2013 05:41:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/duedate-task-how/m-p/159513#M113544</guid>
      <dc:creator>sai576</dc:creator>
      <dc:date>2013-08-14T05:41:28Z</dc:date>
    </item>
  </channel>
</rss>

