I am a developer and I work on a BPMN editor using bpmn.js.
I would like to know if the library allows you to create tasks using code or I have to modify the XML directly.
My goal would be that the user fills in a glossary and that he can add the tasks he selects in a diamgram.
Sorry for my approximate level of English.
thank you in advance.
Thank you so much !
To add a name to a task I use this:
var modeling = modeler.get('modeling');
name: 'New name'
Is this a good practice ?