Remember that setting 'duedate=' on the task or timer can take an interval like 
'1 business day', so as long as you always have a set interval from the time of 
task creation, you can simply use the attribute and be fine.

If a set interval is too simple for your needs, you should be able to create an 
ActionHandler class that is executed on the task-create event.  Here your own 
code should be able to do whatever calculation is necessary and set the 
task/timer due dates programatically after they have been created. 

If your calculation uses process instance variables, you can, of course, 
specify which ones in your action config...
<task ...>
  | <event type='task-create'>
  | <action class='com.me.myDueDateCalculatorActionHandler'>
  | <varName1>someVariableName</varName1>
  | </action>
  | </event>
  | <timer .../>
  | </task>

-Britt

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951763#3951763

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951763


_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to