Hey Tijs,
I think I don't fully understand what you wrote …
> When the application server is restarted the BPMN XML is read again and all expressions are read again.
As far as I found out is, that the BPMN XML may be read again, and the expressions may be read again too, but according to break points we set in our getTimeCycle()-method, it is not called again, thus the job entry in ACT_RU_JOB keeps the old information. It is only called, when the process model somehow changes (because of the auto deployment feature …) More importantly, even after the timer fired, the new value is not used.
I think this is something nobody would expect. I for myself would expect, that in case a timer start event is using an expression, this expression is evaluated at least at start of the process engine. It would be a good feature to have a runtime service to update the timer start events programmatically too.
Nevertheless, I need a solution to make sure, that all timer start events using expressions are updated. Can you lead me to an example of such custom logic you are referring to?
Thank you,
Heiko