I am new to Camunda and identifying how it can be used in my Spring boot application. Thymeleaf is the technology we use for UI rendering.
Till now, I am able to create a simple spring boot application with a process that is started from the main application.
We have a 4 step process (each having a separate form ) where the user enters details and once everything filled correctly all the details will be stored in DB.
What I could not understand is, how I can use Thymeleaf for UI rendering with the help of Camunda where the entire process is defined in the BPMN file?
I do not want to use the Tasklist application here.
Yes, I have gone through above mentioned post and tried the solution as well.
It basically provides option in Tasklist application to open an external form.
I do not intend to use Tasklist application. I want all the UI rendering to happen though my application. I cant understand how Thymeleaf UI rendering can be combined with Camunda BPMN engine through java code (Spring boot).
I’m not familiar with Thymeleaf (and how it integrates with Spring Boot), but I suspect that you should be able to Autowire the TaskService to obtain the necessary data to populate you Thymeleaf form.
In order to communicate with the Process Engine afterwards, you would need to use the Engine Rest API: