Hi Yogita,
You can set a variable before timer create. And let timer use this process variable for its duedate attribute value. We cannot modify timer though java or decision activity directly.
If you really want to do that, you could use hibernate to access database directly, once you get the timerImpl, you could do whatever you want to do. But please notice that is not recommended.