diff --git a/kogito-quarkus-examples/process-business-calendar-example/README.md b/kogito-quarkus-examples/process-business-calendar-example/README.md index 1cdb35d341..cad7d10d35 100644 --- a/kogito-quarkus-examples/process-business-calendar-example/README.md +++ b/kogito-quarkus-examples/process-business-calendar-example/README.md @@ -31,14 +31,14 @@ The initial trigger that starts the credit card bill processing workflow.
### Verify Payment -A service task where the credit card details are validated, ensuring the payment is processed under valid terms. +A user task where the credit card details are validated, ensuring the payment is processed under valid terms. * Verify Payment ### Timer -Attached to a human task to simulate waiting for manual confirmation or user action. This timer can be configured to react differently based on the presence of the business calendar. +Attached to a user task to simulate waiting for manual confirmation or user action. This timer can be configured to react differently based on the presence of the business calendar. ### Cancel Payment @@ -143,7 +143,7 @@ curl -X GET http://localhost:8080/BusinessCalendarCreditBill/{id} \ * **business.holidays** by default will be considered empty, meaning no predefined holidays unless specified, if specified, it should be in the format defined by business.holiday.date.format, Holidays can be specified as individual dates (e.g., 2024-12-25,2024-12-31) or as a range of dates (e.g., 2024-11-12:2024-11-14). -* **business.timezone** defaults to the system’s default timezone, if configured, valid time-zone as per Valid timezone as per https://docs.oracle.com/javase/7/docs/api/java/util/TimeZone.html should be specfied. +* **business.cal.timezone** defaults to the system’s default timezone, if configured, valid time-zone as per Valid timezone as per https://docs.oracle.com/javase/7/docs/api/java/util/TimeZone.html should be specfied. **Behavior**: * Considering the default properties as mentioned above, if a task is executed after working hours i.e., non-working hours (e.g., at 7 PM), the system will delay its execution until the start of the next working hour/working day (9 AM). For example, if a task timer is set to trigger at 7 PM on a Friday, it will not execute until 9 AM on Monday (assuming a standard 5-day workweek). diff --git a/kogito-quarkus-examples/process-business-calendar-example/src/main/resources/calendar.properties b/kogito-quarkus-examples/process-business-calendar-example/src/main/resources/calendar.properties index 76003780b4..eddf031d2c 100644 --- a/kogito-quarkus-examples/process-business-calendar-example/src/main/resources/calendar.properties +++ b/kogito-quarkus-examples/process-business-calendar-example/src/main/resources/calendar.properties @@ -20,6 +20,6 @@ business.hours.per.day=24 business.start.hour=0 business.holiday.date.format=yyyy-MM-dd business.holidays=2024-11-07 -business.days.per.week =6 -business.weekend.days =1 +business.days.per.week=6 +business.weekend.days=1