Is it possible to use the API to programmatically create the BPMN for a process instead of using the modeler?? Has anyone done this? Any examples? The user guide has nothing regarding this. Only shows how to create processes from existing BPMN xml.
The api currently only allows to dynamically add tasks to an existing process instance. For our case we would need to add a number of tasks, of which some must be executed in parallel. So I kind of need to add a parallel gateway dynamically. Is this something the engine internals could cope with currently, or do i need to find a workaround ?
I am generating the BPMN XML myself. Its not a big deal to modify the xml either and add a parallel gateway. Just lookup the xml syntax for it. However if an Open Source API did this for us we would not have to worry about the BPMN being correct. The modeler is only good if you already know your workflow. In my situation the workflow is generated as the user uses the software.