cancel
Showing results for 
Search instead for 
Did you mean: 

How to use org.activiti.engine.impl.calendar.BusinessCalendar

penusila611621
Champ in-the-making
Champ in-the-making
Anybody here help me in knowing how to use org.activiti.engine.impl.calendar.BusinessCalendar in Activiti 5.14. I have go thorugh some posts respective this but not able to grasp how to use this api.
13 REPLIES 13

trademak
Star Contributor
Star Contributor
The business calendar is used to work with timers in the Activiti Engine. The BusinessCalendar interface can be used to implement your own logic if needed. In the process engine configuration you can set your custom business calendar implementation through the businessCalendarManager property.

Best regards,

Hi Tijs,

I have no clue how to use Business Calendar option. Would you please post 1 example here how to configure in process engine configuration and then how to use in timers. Appreciate your help on this.

penusila611621
Champ in-the-making
Champ in-the-making
Anybody through some light on how to use calendar in Activiti to set task due dates.

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

Good example could be
org.activiti.engine.test.bpmn.usertask.TaskDueDateExtensionsTest

in activiti sources.

Regards
Martin

penusila611621
Champ in-the-making
Champ in-the-making
May I know where i can find org.activiti.engine.test.bpmn.usertask.TaskDueDateExtensionsTest & it's usuage. No clue what do you mean by activiti sources. No package visible org.activiti.engine.test.bpmn.

penusila611621
Champ in-the-making
Champ in-the-making
Hi Martin,

Thanks for the source code links. Have gone through the due date example(TaskDueDateExtensionsTest.java) class.  This class simply setting some date as due date but it's not skipping the calendar holidays(sat & sun) and also not considering working hours.

is there something like I mentioned is possible in Activiti OR do I need to write my own busines logic to achieve this.

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

I would say you will need your own calendar for this.

Regards
Martin

satramalin
Champ in-the-making
Champ in-the-making
Hi,
Can we set a business calendar specific to application level. If yes, can you please let me know where it has to be configured.Thanks!!
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.