Hi everyone,
I’ve followed the example of bpmn-properties and it works fine, but how can I do the same for a property with multiple values like DataInput? I’ve tried this:
var ioSpec = this.model.create("bpmn:InputOutputSpecification", {inputSets: []});
this.modeling.updateProperties(diagramElement, {ioSpecification: ioSpec});
This creates the InputOutputSpecification
correctly and creates an empty array. Now I want to add an InputSet
to that array, can I do that using the updateProperties function?
var input = this.model.create("bpmn:InputSet", {name: "input"});
this.modeling.updateProperties(???);