<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Need to Implement Custom Business Calendar in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/need-to-implement-custom-business-calendar/m-p/208272#M161402</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mark,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hmm no, this is working only in the Enterprise version. (sorry, I haven't noticed you are using community edition)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If i'll have to do this task I'll take the sources from Martin and adjust them in case it doesn't fit exactly my needs.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 30 Aug 2015 21:20:58 GMT</pubDate>
    <dc:creator>vasile_dirla</dc:creator>
    <dc:date>2015-08-30T21:20:58Z</dc:date>
    <item>
      <title>Need to Implement Custom Business Calendar</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-to-implement-custom-business-calendar/m-p/208268#M161398</link>
      <description>Hello All,I need to implement a business calendar which only counts business days for all timers, due dates, etc. For simplicity, we just want to skip Saturdays and Sundays. So, if a task is created on Friday with a 3 day due date, the due date would be the following Wednesday.I see from other posts</description>
      <pubDate>Thu, 27 Aug 2015 13:59:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-to-implement-custom-business-calendar/m-p/208268#M161398</guid>
      <dc:creator>ms1</dc:creator>
      <dc:date>2015-08-27T13:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Need to Implement Custom Business Calendar</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-to-implement-custom-business-calendar/m-p/208269#M161399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess you'd like to see this page:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://docs.alfresco.com/activiti/topics/business-calendar-settings.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/activiti/topics/business-calendar-settings.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 20:17:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-to-implement-custom-business-calendar/m-p/208269#M161399</guid>
      <dc:creator>vasile_dirla</dc:creator>
      <dc:date>2015-08-27T20:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Need to Implement Custom Business Calendar</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-to-implement-custom-business-calendar/m-p/208270#M161400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;may be you are looking for:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://github.com/Activiti/Activiti/pull/646" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/pull/646&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you need only one BusinessCalendar, you can configure it easily in process engine configuration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 11:16:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-to-implement-custom-business-calendar/m-p/208270#M161400</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2015-08-28T11:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Need to Implement Custom Business Calendar</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-to-implement-custom-business-calendar/m-p/208271#M161401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Vasile,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, this is what I want to do. Does this work for v5.17 community edition?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@Martin - From what I could tell, this could work for me too. I am not sure where to start with this though. I understand that I can write and use my own business calendar implementation, but the problem for me is that the underlying code does quite a bit of work and the date calculation is buried in the Helper class … I don't want to mess with those implementations if I don't have to.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me ask this, if you had to do this, how would you implement it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Aug 2015 12:03:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-to-implement-custom-business-calendar/m-p/208271#M161401</guid>
      <dc:creator>ms1</dc:creator>
      <dc:date>2015-08-30T12:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Need to Implement Custom Business Calendar</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-to-implement-custom-business-calendar/m-p/208272#M161402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mark,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hmm no, this is working only in the Enterprise version. (sorry, I haven't noticed you are using community edition)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If i'll have to do this task I'll take the sources from Martin and adjust them in case it doesn't fit exactly my needs.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Aug 2015 21:20:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-to-implement-custom-business-calendar/m-p/208272#M161402</guid>
      <dc:creator>vasile_dirla</dc:creator>
      <dc:date>2015-08-30T21:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Need to Implement Custom Business Calendar</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-to-implement-custom-business-calendar/m-p/208273#M161403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mark,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just implement &lt;/SPAN&gt;&lt;CODE&gt;org.activiti.engine.impl.calendar.BusinessCalendar&lt;/CODE&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 05:44:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-to-implement-custom-business-calendar/m-p/208273#M161403</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2015-08-31T05:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: Need to Implement Custom Business Calendar</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-to-implement-custom-business-calendar/m-p/208274#M161404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Martin and Vasile,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is what I did to implement this … maybe this will help someone else.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I ended up deriving from the Activiti Calendar implementations (CycleBusinessCalendar, DueDateBusinessCalendar and DurationBusinessCalendar), overriding the resolveDueDate method to call the parent method(to avoid replicating any Activiti logic) and modifying the date to only take MON-FRI into account.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This works great and I believe will allow us to easily upgrade when we want.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 15:03:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-to-implement-custom-business-calendar/m-p/208274#M161404</guid>
      <dc:creator>ms1</dc:creator>
      <dc:date>2015-09-02T15:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Need to Implement Custom Business Calendar</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-to-implement-custom-business-calendar/m-p/208275#M161405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mark,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, I think it's a good approach.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Sep 2015 08:25:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-to-implement-custom-business-calendar/m-p/208275#M161405</guid>
      <dc:creator>vasile_dirla</dc:creator>
      <dc:date>2015-09-07T08:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Need to Implement Custom Business Calendar</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-to-implement-custom-business-calendar/m-p/208276#M161406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi mark,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; As per your comment 7 you have overrided the resolveDueDate method of DueDateBusinessCalendar class but how exactly you are able to call this resolved date from activiti.I am new to activiti .Can you please put more details about this or configuration structure/or sample Example.Thanks in advance .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Balaji M.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 15:59:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-to-implement-custom-business-calendar/m-p/208276#M161406</guid>
      <dc:creator>balajimurkute24</dc:creator>
      <dc:date>2016-04-07T15:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: Need to Implement Custom Business Calendar</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-to-implement-custom-business-calendar/m-p/208277#M161407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you please share the more details on this .I am not able to call CycleBusinessCalendar, DueDateBusinessCalendar and DurationBusinessCalendar classes resolveDueDate&amp;nbsp; in my own code.Its bydefault taking the activit classes&amp;nbsp; and its method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Balaji Murkute&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2016 14:51:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-to-implement-custom-business-calendar/m-p/208277#M161407</guid>
      <dc:creator>balajimurkute24</dc:creator>
      <dc:date>2016-04-11T14:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Need to Implement Custom Business Calendar</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-to-implement-custom-business-calendar/m-p/208278#M161408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Balaji,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In order to use your implementation, you must set it in the Activiti configuration. Our application uses embedded Activiti, so I used the SpringProcessEngineConfiguration and called setBusinessCalendarManager(BusinessCalendarManager bcm). Construct the bcm with your implementations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2016 15:11:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-to-implement-custom-business-calendar/m-p/208278#M161408</guid>
      <dc:creator>ms1</dc:creator>
      <dc:date>2016-04-11T15:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Need to Implement Custom Business Calendar</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-to-implement-custom-business-calendar/m-p/208279#M161409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The BusinessCalendar don't have document, so I still don't understand how to implement BusinessCalendar, so I want to confirm that "resolveDuedate method will return the end date", is it right? (example, current time is Jun 27 2016, duedate is P3D, so the return of resolveDuedate method will be Jun 30 2016).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And I want to use that Calendar for 1 Boundary timer event (Intermediate timer catching event still use nomal calendar), how can I do that? I didn't see any config to set&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[img]&lt;/SPAN&gt;&lt;A href="https://s31.postimg.org/bvyh3hbi3/Selection_004.png" rel="nofollow noopener noreferrer"&gt;https://s31.postimg.org/bvyh3hbi3/Selection_004.png&lt;/A&gt;&lt;SPAN&gt;[/img]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have found in the document that we can set in xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;timerEventDefinition activiti:businessCalendarName="custom"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; …&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/timerEventDefinition&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It is true? because it doesn't show on the gui, so, I don't know if it 's true. (I'm using version 5.20.0 (activiti-explorer nad activiti-rest), is business calendar availiable on community version?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Quan Vo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 03:41:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-to-implement-custom-business-calendar/m-p/208279#M161409</guid>
      <dc:creator>minhquankq</dc:creator>
      <dc:date>2016-06-28T03:41:54Z</dc:date>
    </item>
  </channel>
</rss>

