yesamer commented on code in PR #2036: URL: https://github.com/apache/incubator-kie-kogito-examples/pull/2036#discussion_r1842013341
########## kogito-quarkus-examples/process-business-calendar-example/README.md: ########## @@ -0,0 +1,300 @@ +# Process Business Calendar Example + +This example demonstrates the impact of a business calendar on process execution within a Quarkus application. It showcases a business process involving credit card bill processing, which adapts to a business calendar defined in calendar.properties. This configuration modifies timer behaviors to respect working hours, holidays, and other schedule-based constraints. + +### Main Components + +**BPMN2-BusinessCalendarBankTransaction.bpmn2**: +Defines the workflow for processing credit card transactions. +Includes tasks such as processing the credit bill, verifying payment, handling timers, cancelling and bill settlement. + +**CreditCardService.java**: +Implements the logic for handling credit card payment processes. + +**calendar.properties**: +Configures business hours, holidays, and other calendar properties that affect scheduling and timer behavior. + +### BPMN Process Details + +The BPMN model (`BPMN2-BusinessCalendarBankTransaction.bpmn2`) defines a workflow that includes the following main elements: +<p align="center"><img width=75% height=50% src="docs/images/CreditCardModel.png"></p> + +### Start Event + +The initial trigger that starts the credit card bill processing workflow. + +### Process Credit Bill +* Process Credit Bill Properties (Top) + <p align="center"><img width=75% height=50% src="docs/images/ProcessCreditBillTop.png"></p> + +* Process Credit Card Bill Assignments + <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. Review Comment: @Abhitocode `Verify Payment` is a User Task ```suggestion A user task where the credit card details are validated, ensuring the payment is processed under valid terms. ``` -- 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]
