The distinctive part of my question is that it concern the start form, that is – correct me if I wrong – has to be fetched before the process is instantiated.
Anyway, I’m using that “3 requests” method now because the second approach – apart from being undocumented – seems to be unable to work with basic auth.
We are facing the same problem, submit a form and get a form are undocumented in flowable(several rest api can do these).
It would be great if the flowable team can standardize the rest api, also I found that the rest api is so much different with the flowable-ui-task http api.
The Flowable Task application internal REST API has indeed some improvements to make it easy to fetch the form of a specific process definition or task and submit this form. The logic uses the Java service API available in the BPMN / CMMN and Form engine.
What needs to be done is to expose this REST API in the BPMN / CMMN Engine REST API directly, so you don’t need to do several REST calls. I’ll try to get some first version implemented in the next couple of days.