How to append child xml node in the custom element?

There is an example project to let developer to create extenstionElment, but how can I append the child xmlnode comment into elment ‘qa:analysisDetails’

custom element example

This method works fine to append analysisDetails into extensionElment:


bpmn:ExtensionElements has an attribute values to make child nodes to be appended

When I want to append comment element into analysisDetails use simliar code, it seems not working at all:

Uncaught TypeError: anaylysisDetail.get(…) is undefined


The analysisDetails metamodel does not provide a property values. But it has comments instead.

Does this work for you?


@Niklas_Kiefer , That’s perfect, it works fine. Thanks!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.