Hi!
I was at a customer last week and they implement an improved timer for themselves. And I
saw that requirement already many times, normally it was solved by own written
ActionHandler. But to have an advanced timer would be even nicer!
I am not sure if it gets already more powerful with the PVM?
Here the requirements: They want the timer to be due on some specific time on a certain
day. The hacked the Calendar and can now configure the timer like this:
| <timer name="uniquetimername1" duedate="07.11.2007-17:32:00
timestamp" transition="toNextNodeAfterTimer"></timer>
|
Maybe this can be easily improved to
| <timer name="xyz" duedate="today+1-17:32:00 timestamp"
transition="whatever"></timer>
|
with the new unit, they can just parse the duedate differently. This apporach is OK, but
has the weekness, that it cannot really be combined with the business calender (e.g. 3
business days, but 09:00).
If we can agree on a good format to support this, they would give me the appropriate code
so I can commit it. But what format?
I think best solution would be to add an attribute, so we get
| <timer name="xyz" duedate="1 business day"
time-constraint=">19:00" date-constraint="=20.11.2007"
transition="whatever"></timer>
|
By the way: duedate and the new attributes should be able to read expression language.
Thought?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106335#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...