Generating flowable process

Is it possible to generate a flowable process using Flowable APIs? My use case involves asking the business user questions around how many approval steps, assignee etc and then I need to generate the process with the Human task. The motivation being that my users are not BPMN savvy.

Hi Srallapally.

Yes, there are plenty of possibilities:

  • DynamicBpmnService
  • generate BPMN on the fly and deploy it afterwards
  • Multiinstance - I think that’s the approach, which you should take.



doesn’t have any method to create a Process Definition. What am I missing?

Found this

adds ne user task to the currently running process instance.
DynamicActivitiProcessTest is the second option:

Is my favorite.