This is an evolving project that uses Camunda (BPMN Engine) and Spring Boot to showcase a simple workflow automation project with multiple use cases.
- Camunda - https://camunda.com/
- Camunda Modeler - https://camunda.com/download/modeler/
- Spring Boot - https://spring.io/projects/spring-boot
- Quick Start Tutorial - https://docs.camunda.org/get-started/quick-start
- Run
docker-compose up -d
to start the camunda instance. - Confirm that camunda has started by going to http://localhost:8080/camunda-welcome/index.html
OR
- Run
CamundaService
application in thecamunda-service
module. - Confirm that camunda has started by going to http://localhost:8080/
- Open the sample BPMN file (resources/templates/payment.bpmn) and sample DMN file (resources /templates/approve-payment.dmn) in camunda modeler and deploy them to camunda.
- Go to Tasklist (http://localhost:8080/camunda/app/tasklist) and log in with the credentials “demo / demo”
- Click on the Start Process button to start a process instance.
- Select Payment Retrieval from the list.
- Add the following variables for the process instance using the generic form.
- amount
- item
- receiver
- message
- Click Start
- If the amount is less than 1000, a task will be created for user approval in Tasklist.
- If the amount is more than or equal to 1000, the workflow will complete successfully.
- Adjust the values in
PaymentRetrieval
- Run
Application
as SpringBoot application.