<?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 Re: Task DueDate v boundary timer in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/task-duedate-v-boundary-timer/m-p/86608#M58572</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Mike. This is a minor issue I guess, can you create a JIRA for this? The timer accepts ISO-XXX date string, but the dueDate currently only expects an expression that resolves to a java.util.Date.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A current workaround would be to define a bean (using spring or de beans-list on process-engine configuration), e.g.. 'dateBean', and use that to convert ISO-XXX date to actual date:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;activiti:dueDate=${dateUtil.convertToDate(timerDateVar)}&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jun 2012 07:40:21 GMT</pubDate>
    <dc:creator>frederikherema1</dc:creator>
    <dc:date>2012-06-20T07:40:21Z</dc:date>
    <item>
      <title>Task DueDate v boundary timer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/task-duedate-v-boundary-timer/m-p/86601#M58565</link>
      <description>Please excuse my ignorance on this matterCould someone tell me the difference between a task DueDate and a boundary timer event - as in, when shoudl you use one and when should you use the other?Is it as simple as a boundary event takes you to another step whereas the DueDate simply marks a task so</description>
      <pubDate>Fri, 15 Jun 2012 07:35:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/task-duedate-v-boundary-timer/m-p/86601#M58565</guid>
      <dc:creator>mikepoole</dc:creator>
      <dc:date>2012-06-15T07:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: Task DueDate v boundary timer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/task-duedate-v-boundary-timer/m-p/86602#M58566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Mike,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You're assumption is right. The dueDate on the task is just a property of the task, query able through our API. An expired due date doesn't influence process-flow. A timer can.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 07:38:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/task-duedate-v-boundary-timer/m-p/86602#M58566</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-06-15T07:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: Task DueDate v boundary timer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/task-duedate-v-boundary-timer/m-p/86603#M58567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks so much Frederik.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Really appreciate it&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 07:48:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/task-duedate-v-boundary-timer/m-p/86603#M58567</guid>
      <dc:creator>mikepoole</dc:creator>
      <dc:date>2012-06-15T07:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Task DueDate v boundary timer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/task-duedate-v-boundary-timer/m-p/86604#M58568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Mike,&lt;BR /&gt;&lt;BR /&gt;You're assumption is right. The dueDate on the task is just a property of the task, query able through our API. An expired due date doesn't influence process-flow. A timer can.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;So is there a way to tie the two together? ie: do all your logic to set the boundary event's timeDate property and always have the task's DueDate equal that value?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 09:20:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/task-duedate-v-boundary-timer/m-p/86604#M58568</guid>
      <dc:creator>mikepoole</dc:creator>
      <dc:date>2012-06-15T09:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Task DueDate v boundary timer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/task-duedate-v-boundary-timer/m-p/86605#M58569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The timer declaration allows you to specify a "date" using an expression. &lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;boundaryEvent id="escalationTimer" cancelActivity="true" attachedToRef="firstLineSupport"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;timerEventDefinition&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;timeDate&amp;gt;${dateVariable}&amp;lt;/timeDate&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/timerEventDefinition&amp;gt;&lt;BR /&gt;&amp;lt;/boundaryEvent&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;/CODE&gt;&lt;SPAN&gt;The Task's dueDate can be set using an expression:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;userTask id="theTask" name="Important task" activiti:dueDate="${dateVariable}"/&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Than it's just a matter of setting the "dateVariable" on your process BEFORE the flow reaches the task (eg. service-task that contains your logic for calculating date in front or ExecutionListener on the transition before the task, …)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 09:53:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/task-duedate-v-boundary-timer/m-p/86605#M58569</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-06-15T09:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Task DueDate v boundary timer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/task-duedate-v-boundary-timer/m-p/86606#M58570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Fantastic. Makes perfect sense&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again Frederik&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 09:55:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/task-duedate-v-boundary-timer/m-p/86606#M58570</guid>
      <dc:creator>mikepoole</dc:creator>
      <dc:date>2012-06-15T09:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Task DueDate v boundary timer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/task-duedate-v-boundary-timer/m-p/86607#M58571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can I ask what format the activiti:dueDate should be on the User Task?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For the boundary timer, I have no problem setting a process variable to "2012-06-18T11:55:00" but any attempt to put anything else in for the task due date causes a "cannot resolve to a Date" error&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2012 13:29:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/task-duedate-v-boundary-timer/m-p/86607#M58571</guid>
      <dc:creator>mikepoole</dc:creator>
      <dc:date>2012-06-18T13:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Task DueDate v boundary timer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/task-duedate-v-boundary-timer/m-p/86608#M58572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Mike. This is a minor issue I guess, can you create a JIRA for this? The timer accepts ISO-XXX date string, but the dueDate currently only expects an expression that resolves to a java.util.Date.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A current workaround would be to define a bean (using spring or de beans-list on process-engine configuration), e.g.. 'dateBean', and use that to convert ISO-XXX date to actual date:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;activiti:dueDate=${dateUtil.convertToDate(timerDateVar)}&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 07:40:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/task-duedate-v-boundary-timer/m-p/86608#M58572</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-06-20T07:40:21Z</dc:date>
    </item>
  </channel>
</rss>

