[jboss-dev-forums] [Design of JBoss jBPM] - Re: Improvig timer
brittm
do-not-reply at jboss.com
Thu Nov 29 14:51:12 EST 2007
Like most folks, I guess, I've implemented an ActionHandler to dynamically modify due dates on tasks and timers. And like you mention Tom, there typically needs to be a dynamic date/time reference from the process instance as well as a static modifier...such as
<timer name="xyz" baseDateTime="#{someJava.util.Date}" addDuration="1 business day"></timer>
|
Use case: I have an established deadline for a customer install, and this task/timer needs to come due 1 business day ahead of that deadline...
<timer name="xyz" baseDateTime="#{deadlineDate}" addDuration="-1 business day"></timer>
|
or the same for a task...
<task name="xyz" baseDateTime="#{deadlineDate}" addDuration="-1 business day" .../>
-Britt
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109052#4109052
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109052
More information about the jboss-dev-forums
mailing list