i need to create elements in my bpmn process programmatically
i want the user to create a simple tree which will hide a bpmn sub-process, i don’t want the user to be aware of the bpmn-elements (for example sub-process), thus he will see simple tasks.
what are the best practices to create elements programmatically, and where i can find examples ?
example of my flow:
- user will click on add node
- a popup will open to the user to enter some applicaiton data
- i will need to create the connetions, gateway including expression, and a new sub-process which hide few tasks in it