in a customer workflow we have a “Time Intermediate Catch Event” to wait for a period of time, e.g. 3 days (P3D).
<bpmn:timerEventDefinition> <bpmn:timeDuration xsi:type="bpmn:tFormalExpression">P3D</bpmn:timeDuration> </bpmn:timerEventDefinition>
Now we got the request, that this period should only include working days from Monday to Friday.
So if the time starts on Friday the weekend should not count and the expiration should happen on Wednesday of the following week, not on Monday.
Any to achieve this through the model using scripting or something like this?
Or is the only way to write a method to calculate the expiration date of the Timed event?