AnsweredAssumed Answered

Resetting timeout on a TimerBoundaryEvent

Question asked by lmollea on Aug 20, 2014
Latest reply on Aug 26, 2014 by jbarrez
Is it possible to reset (i.e. restart, change the firing date) of a particular timerBoundaryEvent?

Suppose I set a boundary Event attached to a UserTask to the value of ${timeout}. The userTask starts and a timer boundary evaluates the ${timeout} value setting a timer to fire the boundary event at that particular time.

Then, during the timeout period and during the user task, someone externally may decide that the timeout should be changed (increased, in the particular case).

Safe from updating the ACT_RU_JOB table directly, there is no programmatic way of doing this via Activiti API, isn't it?
As far as I get, such table is read every X seconds (5 as default) by the jobExecutor, and only the *due* timers are picked up (so there may be a delay of up to 5 seconds for a timer to fire, isn't it)?