How to configure the business calendar


#1

Hi Guys,

Is there any documentation on how to configure the default business calendar. We would like to configure it so that it does not count weekends or public holidays for timer events.

Regards

Brian


#2

Hi Brian,

Set your own org.flowable.engine.impl.cfg.ProcessEngineConfigurationImpl#businessCalendarManager and replace org.flowable.common.engine.impl.calendar.DueDateBusinessCalendar with your implementation.
See org.flowable.engine.impl.cfg.ProcessEngineConfigurationImpl#initBusinessCalendarManager

Regards
Martin