Getting Name of Element from TextAnnotation

In this diagram,

How to obtain the TextAnnotation attached to a particular Activity?

Hi @akisonlyforu,

The general idea is to take the BPMN XML (for example via Java APIs in RepositoryService) and read the annotation from that. Camunda provides libraries for Java (BPMN model API) and Javascript (bpmn-moddle) to ease the second task.

Cheers,
Thorben