We have a timer that waits for 1 day until it calls a java method.
<bpmn:startEvent id="CustomerReminderStartEvent" isInterrupting="false"> <bpmn:outgoing>SequenceFlow_1r84qyj</bpmn:outgoing> <bpmn:timerEventDefinition> <bpmn:timeDuration xsi:type="bpmn:tFormalExpression">P1D</bpmn:timeDuration> </bpmn:timerEventDefinition> </bpmn:startEvent>
Now we need to make sure that the timer extends it’s expiration depending on time of day.
I.e, if the timer expires after 9pm, then it should extend itself until 8am the following day.
Any tips on how that could be accomplished?