I am working on a project, in which,I have to build html form to be displayed to user, so he/she could start a process or complete a task. And the generated forms may require data from database different from BPM database. PS:I’m using Camunda with spring boot starter. Based on my understanding of Camunda BPM, I’ve got these points:
- Must add properties for form fields, to know some additional information to build the correct datasource.Capture|233x500
- query process definition/usertask to get form variables with extra properties.
- then create suitable controls (inputs) in html using javascript (jquery, formio…). 4.handle the form submission in the server side and pass parameters to Camunda (start a process, or complete a task).
my questions are:
- Have I got it right? if yes, please help me by share an example or a code snippet.
- Is there another better way to do so? if yes, please explain.
Best Regards