How to get Annotations from DMN in the Rest API?


#1

I’m using the rest API and would like to get the annotation in the rules that was run from one DMN in a BPMN modell . I get just the output variables, is there any way that the annotations are returned as part of the evaluation response without adding a new output variable to the DMN ?


#2

You need to parse the XML. The API does not return the annotations. You can use the model API (java) to parse or use the DMN-js lib