3 Replies Latest reply on Nov 5, 2009 6:52 PM by Kitanai

    Dynamic due date on a Timer

    Kitanai Newbie

      Is it possible to have a calculated value in the duedate field on a timer?


      <state g="490,1029,131,40" name="Pending">
      <on event="timeout">
       <timer duedate="4 business hours"/>
       <event-listener class="myactionclass">
       <field name="myactionparameter"><string value="hello world"/></field>

      I would want duedate="4 business hours" to be something like duedate=#{MyDateUtil.add(requestedTime,4)}, and requestedTime is a process instance variable that the user has submitted in a form.