https://grokonez.com/java-integration/activiti-parallel-tasks-jpa-with-spring-boot-example
How to create Activiti Parallel Tasks with Spring JPA + Spring Boot Example
This tutorial shows you a Spring Boot example which is integrated with Activiti Parallel Tasks and Spring JPA.
Related Articles:
John’s tasks and David’s tasks can be handled in parallel. David doesn’t need to wait for any task which is assigned to John be done.
Katherin is the assignee of Write Report task only if Check Hardware, Check Software and Check Firmware are done.
After report is done, ‘notification’ message will be shown in the System Console.
startProcess()
, getTasks()
, completeTask()
. Those functions can be done with help of some @Autowired objects which are instances of these classes:PersonRepository is an interface extends JpaRepository for implementing repository methods on Person entities.
SpringParallelActivitiApplication class contains Bean that calls MyService's creating persons method when starting the application.
MyController is a REST Controller which has request mapping methods for RESTful requests such as: /process, /tasks, /completetask.
pom.xml contains dependencies for:
More at:
https://grokonez.com/java-integration/activiti-parallel-tasks-jpa-with-spring-boot-example
How to create Activiti Parallel Tasks with Spring JPA + Spring Boot Example
#activiti #springjpa #springboot #parallel