I'm evaluating the "trail" version 1.6.1 of Alfresco Process Services and am trying to test out the Business Calendar. So far I'm not able to get it to work. I entered the lines below into the properties file then created a simple process with a User Activity set to a Due Date = "P3D". Starting the process it shows that task due in 3 days (Sunday). I'd expect it to bypass the weekend.
# Weekend days comma separated (day's first 3 letters in capital)
calendar.weekends=SAT,SUN
Not sure if I'm doing it incorrectly (probably) or not.
Solved! Go to Solution.
Hi Gary,
Regarding your issue, I assume you are talking about those settings:
Business Calendar settings | Alfresco Documentation
Unfortunately those settings are not working at the moment and the Alfresco documentation team was made aware to remove the related page. Nevertheless, you can implement your own business calendar by implementing the BusinessCalendarService as described here:
Business Calendar | Alfresco Documentation
A nice example from one of the Alfresco employees that would need some work to implement the mentioned BusinessCalendarService, which is taking US holidays into account, can be reviewed here:
activiti-examples/BusinessDaysCalculator.java at master · cijujoseph/activiti-examples · GitHub
I hope by following the provided documentation link and the example you are able to implement due dates as required.
Best regards,
Dennis
Hi Gary,
Regarding your issue, I assume you are talking about those settings:
Business Calendar settings | Alfresco Documentation
Unfortunately those settings are not working at the moment and the Alfresco documentation team was made aware to remove the related page. Nevertheless, you can implement your own business calendar by implementing the BusinessCalendarService as described here:
Business Calendar | Alfresco Documentation
A nice example from one of the Alfresco employees that would need some work to implement the mentioned BusinessCalendarService, which is taking US holidays into account, can be reviewed here:
activiti-examples/BusinessDaysCalculator.java at master · cijujoseph/activiti-examples · GitHub
I hope by following the provided documentation link and the example you are able to implement due dates as required.
Best regards,
Dennis
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.