i just started using the bpmn-js Framework and went trough the walktrough.
I installed bpmn-js via npm and made a small webserver to start the appilcation.
Now if i want to add bpmn elements (Tasks etc.) to the Modeler with e.g. input fields (Dropdown with different Elements for example), how can i achieve that? For now these do not get attached to any other element, i just want to understand the concept on how to create valid bpmn elements outside the default way.
We already made some great progress in this project and can model simple BPMN with a User guided Form. Technically i create an array with the help of cli for this. See an example:
Now with gateways comes great complexity (since they can have N sequence flows and additional gateways within) and i dont know if there is a proper way to handle this with forms, do you guys have any tips for this scenario?
Is there also an easy way to draw connections within my Gateways Sector? Still trying to figure how to this in the best way, i guess with proper variable names i can see the individual path.
Im trying to achieve generating valid BPMN out of a HTML/JS Form.
See this screenshot for some basic information (It’s german though):
Screenshot
With “Gateways Sector” i mean the section between the two gateways in the above screenshot. The task in between these are seperated in 2 sequence flows (lanes or how you would call it. so they work in parallel) for example.
Will it be easier working with the API than with CLI for my scenario?