Set/Get extended attributes in javascript



I’m using the bpmn-io ( toolkit to render bpmn with the camunda-bpmn-moddle to extend it. I’m trying to understand how to set/get camunda extended attributes to a callActivity in javascript. Specifically, I’ve been trying to set/get the camunda:collection and camunda:elementVariable attributes that should be extended by the MultiInstanceLoopCharacteristics, but I haven’t been successful in retrieving or modifying those attributes through javascript.

Are there any examples of this being done that I can look at?


You could have a look at how the bpmn-js-properties-panel gets and sets these values.

Hope that helps.