martinweiler commented on code in PR #2952: URL: https://github.com/apache/incubator-kie-tools/pull/2952#discussion_r1977912520
########## examples/process-business-calendar/README.md: ########## @@ -330,7 +330,72 @@ curl -X GET http://localhost:8080/BusinessCalendarCreditBill \ - On next business day, timer will resume at the beginning of the next working hour/day, after the non-working hour/holiday has ended. The timer is set to fire after one second of active business time. --- +## Custom Business Calendar Flexibility +**Why Create a Custom Business Calendar?** +- Custom schedules that differ from the default behavior. +- Modify, delay, or override time calculations. +- Implement custom business logic for when tasks should be triggered. + +This guide explains how to implement a custom business calendar allowing full flexibility. + +--- + +### Creating a Custom Business Calendar + +- By default, calendar.properties is used to configure default business calendar. +- If a custom business calendar has to be implemented, calendar.properties should NOT exist. Instead, add the following property to application.properties: ```kogito.processes.businessCalendar=org.kie.kogito.calendar.CustomCalendar``` Review Comment: There is a mix of paths - please use either `org.kie.kogito.calendar` or `org.kie.kogito.calendar.custom` throughout this example -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
