cancel
Showing results for 
Search instead for 
Did you mean: 

How to take into consideration business days and/or holidays

jtsinoni
Champ in-the-making
Champ in-the-making
Hi, how do you take into consideration business days and/or holidays when creating a timerEventDefinition?

Thanks,
John
2 REPLIES 2

trademak
Star Contributor
Star Contributor
Hmm, that's not supported right now.
You can create a timer event definition based on a variable which you can compute yourself.
But I don't know if that's sufficient for your use case.

Best regards,

webcyberrob
Champ in-the-making
Champ in-the-making
In my experience, this is a good example of master data complementing business process. I typically setup/find the authoritive data source in an organisation for management of public holidays etc. Then every organisation needs a reusable, atomic, business function getNextBusinessDay(from (default=today), n (default=1)) which should use this authoritive (and thus maintained) data source.

Hence your business process should call this function (often exposed as a web service) to determine the n'th business day from say today, taking into account holidays etc.

Advanced usage - some organisations span regions with different holidays, hence sometimes granularity needs to be regional. Also some organisations open their retail on say weekends, but head office is closed. Hence sometimes your granularity needs to cover the operational area as well…

regards

R