cancel
Showing results for 
Search instead for 
Did you mean: 

DueDate over tasks excluding Weekends

jindal8787
Champ in-the-making
Champ in-the-making
Is there a way by which i can set due dates on my tasks but this due data must exclude weekend?

Like if the Task has due date of 3 days and started on Friday, then due date should be next Tuesday, not Sunday.

Thanks
Amit Jindal
HCL
2 REPLIES 2

vasile_dirla
Star Contributor
Star Contributor
You could create a custom BusinessCalendar;
see:

<code>
org.activiti.engine.impl.calendar.AdvancedCycleBusinessCalendar
</code>

this will allow you to handle the dates by your own rules.

Yes,
on the other hand, each timer could behave according to different business calendar. For that case there is pending pull request
https://github.com/Activiti/Activiti/pull/646

Regards
Martin
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.