Should be rather simple. You can see how to programmatically create a timer if you look at the CreateTimerAction source code. They build a Timer object.
I would created an action handler on the node-exit of the start state which would take the entered date, and then do simple java date math Date newDate = new Date( enteredDate.getTime() - 2419200000 ) Where 2419200000 is 4 weeks (in milliseconds). Or Date newDate = new Date( enteredDate.getTime() - (4 * 7 * 24 * 60 * 60 * 1000) ) For the 4 weeks, 7 days in a week, 24 hours in day, so on and so on. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961605#3961605 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961605 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user