@Niall I tried adding execute(job())
after I move the time forward but it completes the timer task no matter how much I move the time forward by.
I have the timer for 1 day. If I move the time forward by 1 hour the timer still fires.
I understand the ClockUtil only moves the time forward and the engine must need some instruction to evaluate again based on the time but I am not clear how to do it. I did a search for “ClockUtil” in the camunda-bpm-assert repo but there is no example.
I searched the forums and found this Testing timer events in processes but it is similar to what you are saying.