Skip to content

Commit

Permalink
incubator-kie-issues-1596-bc-example
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhitocode committed Nov 14, 2024
1 parent df97315 commit 5269084
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ The initial trigger that starts the credit card bill processing workflow.
<p align="center"><img width=75% height=50% src="docs/images/ProcessCreditBillAssign.png"></p>

### 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
<p align="center"><img width=75% height=50% src="docs/images/VerifyPayment.png"></p>

### 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.
<p align="center"><img width=75% height=50% src="docs/images/Timer.png"></p>

### Cancel Payment
Expand Down Expand Up @@ -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).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5269084

Please sign in to comment.