Closed rusaym closed 1 year ago
Yep. The max delay for setTimeout
is 2,147,483,647
. The default timer-handler doesn't handle that unfortunately. I suggest that you make a copy of the Timer-class, make a modification to ignore values above max-delay, and supply it to the engine as an option. While I try to figure out how to handle this...
Should be solved by 48041e4. Released as bpmn-engine@16.0.1.
Thank you, now it's working!
Hi, I got a warning with some dates using Timer, and process crashes after the warning.
Here is an example:
If I set
taskDate: '2023-05-16T12:18:00.000Z'
there is no problem, but if I change it to thistaskDate: '2024-05-16T12:18:00.000Z'
I got a warning:Maybe there is some special date format to avoid this?